X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e9831a75073dca2358cc94d9cbf1c61c46110ace..refs/pull/524/head:/app/Page.php diff --git a/app/Page.php b/app/Page.php index d722e4e54..c9823e7e4 100644 --- a/app/Page.php +++ b/app/Page.php @@ -66,10 +66,6 @@ class Page extends Entity return $this->hasMany(Attachment::class, 'uploaded_to')->orderBy('order', 'asc'); } - public function comments() { - return $this->hasMany(Comment::class, 'page_id')->orderBy('created_on', 'asc'); - } - /** * Get the url for this page. * @param string|bool $path