mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
#47 - Adds various translations in English, and a few code improvements.
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user