From: Abijeet Date: Tue, 6 Jun 2017 17:50:40 +0000 (+0530) Subject: Removes some unncessary code. X-Git-Tag: v0.18.0~1^2~45^2^2~11 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/652a67ad6598412759aec58454eba3d6a006ac4a Removes some unncessary code. --- diff --git a/app/Page.php b/app/Page.php index 4a8d32780..c9823e7e4 100644 --- a/app/Page.php +++ b/app/Page.php @@ -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. diff --git a/resources/lang/en/activities.php b/resources/lang/en/activities.php index 094f97306..56af4ca07 100644 --- a/resources/lang/en/activities.php +++ b/resources/lang/en/activities.php @@ -37,9 +37,4 @@ return [ 'book_sort' => 'sorted book', 'book_sort_notification' => 'Book Successfully Re-sorted', - // Comments - 'comment_create_notification' => '', - 'comment_update_notification' => '', - 'comment_delete_notification' => '', - ];