]> BookStack Code Mirror - bookstack/blobdiff - app/User.php
Change application namespace to BookStack
[bookstack] / app / User.php
index b2fa5cd1b99cd72d8dd5a199f316d830da66f59c..c7ce6b11e40812ec7379b55bc15384996bb9c7bf 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Oxbow;
+namespace BookStack;
 
 use Illuminate\Auth\Authenticatable;
 use Illuminate\Database\Eloquent\Model;
@@ -53,7 +53,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
      */
     public function roles()
     {
-        return $this->belongsToMany('Oxbow\Role');
+        return $this->belongsToMany('BookStack\Role');
     }
 
     public function getRoleAttribute()
@@ -103,7 +103,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
      */
     public function socialAccounts()
     {
-        return $this->hasMany('Oxbow\SocialAccount');
+        return $this->hasMany('BookStack\SocialAccount');
     }
 
     /**