Removes some unncessary code.
This commit is contained in:
		
							parent
							
								
									5bd9da6054
								
							
						
					
					
						commit
						652a67ad65
					
				| 
						 | 
				
			
			@ -39,15 +39,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.
 | 
			
		||||
     * @return bool
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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' => '',
 | 
			
		||||
 | 
			
		||||
];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue