1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Change application namespace to BookStack

This commit is contained in:
Dan Brown
2015-09-10 19:31:09 +01:00
parent b61c1d8df0
commit 88049476fe
69 changed files with 195 additions and 195 deletions

View File

@ -1,6 +1,6 @@
<?php
namespace Oxbow;
namespace BookStack;
use Illuminate\Database\Eloquent\Model;
@ -12,7 +12,7 @@ abstract class Entity extends Model
*/
public function createdBy()
{
return $this->belongsTo('Oxbow\User', 'created_by');
return $this->belongsTo('BookStack\User', 'created_by');
}
/**
@ -21,7 +21,7 @@ abstract class Entity extends Model
*/
public function updatedBy()
{
return $this->belongsTo('Oxbow\User', 'updated_by');
return $this->belongsTo('BookStack\User', 'updated_by');
}
/**
@ -41,7 +41,7 @@ abstract class Entity extends Model
*/
public function activity()
{
return $this->morphMany('Oxbow\Activity', 'entity')->orderBy('created_at', 'desc');
return $this->morphMany('BookStack\Activity', 'entity')->orderBy('created_at', 'desc');
}
/**