]> BookStack Code Mirror - bookstack/commitdiff
Removes some unncessary code.
authorAbijeet <redacted>
Tue, 6 Jun 2017 17:50:40 +0000 (23:20 +0530)
committerAbijeet <redacted>
Tue, 6 Jun 2017 17:50:40 +0000 (23:20 +0530)
app/Page.php
resources/lang/en/activities.php

index 4a8d32780388565d668eca10ad249beb929d3c61..c9823e7e4ccfcb65dce71328f28fa0f4f04d40a3 100644 (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.
index 094f973062ae358d61ba381b0fd1a60d64a2d9d7..56af4ca07b3c9914c9158a9e6c33fa116d07c2b7 100644 (file)
@@ -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' => '',
-
 ];