X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/860d4d4be5eb7b1d4b13fcc31bf5fe3eafb01a33..refs/pull/261/head:/app/Comment.php diff --git a/app/Comment.php b/app/Comment.php index 8588982e5..de01b6212 100644 --- a/app/Comment.php +++ b/app/Comment.php @@ -34,6 +34,9 @@ class Comment extends Ownable return $this->belongsTo(User::class); } + /* + * Not being used, but left here because might be used in the future for performance reasons. + */ public function getPageComments($pageId) { $query = static::newQuery(); $query->join('users AS u', 'comments.created_by', '=', 'u.id');