mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
#47 - Updates the total comments when a comment is added.
This commit is contained in:
@ -46,8 +46,8 @@ class CommentRepo {
|
||||
}
|
||||
|
||||
public function delete($comment) {
|
||||
$comment->text = trans('errors.cannot_add_comment_to_draft');
|
||||
$comment->html = trans('errors.cannot_add_comment_to_draft');
|
||||
$comment->text = trans('activities.comment_deleted');
|
||||
$comment->html = trans('activities.comment_deleted');
|
||||
$comment->active = false;
|
||||
$userId = user()->id;
|
||||
$comment->updated_by = $userId;
|
||||
|
Reference in New Issue
Block a user