]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5bd9da6
)
Removes some unncessary code.
author
Abijeet
<redacted>
Tue, 6 Jun 2017 17:50:40 +0000
(23:20 +0530)
committer
Abijeet
<redacted>
Tue, 6 Jun 2017 17:50:40 +0000
(23:20 +0530)
app/Page.php
patch
|
blob
|
history
resources/lang/en/activities.php
patch
|
blob
|
history
diff --git
a/app/Page.php
b/app/Page.php
index 4a8d32780388565d668eca10ad249beb929d3c61..c9823e7e4ccfcb65dce71328f28fa0f4f04d40a3 100644
(file)
--- 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 094f973062ae358d61ba381b0fd1a60d64a2d9d7..56af4ca07b3c9914c9158a9e6c33fa116d07c2b7 100644
(file)
--- 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' => '',
-
];