1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Removes some unncessary code.

This commit is contained in:
Abijeet
2017-06-06 23:20:40 +05:30
parent 5bd9da6054
commit 652a67ad65
2 changed files with 0 additions and 14 deletions

View File

@ -38,15 +38,6 @@ class Page extends Entity
{
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.