mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-06 18:54:33 +08:00
Removes some unncessary code.
This commit is contained in:
@ -38,15 +38,6 @@ class Page extends Entity
|
|||||||
{
|
{
|
||||||
return $this->belongsTo(Chapter::class);
|
return $this->belongsTo(Chapter::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the comments in the page.
|
|
||||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
|
||||||
*/
|
|
||||||
public function comment()
|
|
||||||
{
|
|
||||||
return $this->hasMany(Comment::class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if this page has a chapter.
|
* Check if this page has a chapter.
|
||||||
|
@ -37,9 +37,4 @@ return [
|
|||||||
'book_sort' => 'sorted book',
|
'book_sort' => 'sorted book',
|
||||||
'book_sort_notification' => 'Book Successfully Re-sorted',
|
'book_sort_notification' => 'Book Successfully Re-sorted',
|
||||||
|
|
||||||
// Comments
|
|
||||||
'comment_create_notification' => '',
|
|
||||||
'comment_update_notification' => '',
|
|
||||||
'comment_delete_notification' => '',
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user