]> BookStack Code Mirror - bookstack/blobdiff - app/Repos/CommentRepo.php
#47 - Fixes the issues with the test case.
[bookstack] / app / Repos / CommentRepo.php
index b8aa579c6ed56cabe8c9470dd3f977353d0e839a..ce71b923498ac0ed376ac25ab154f42852ddfb2b 100644 (file)
@@ -46,8 +46,8 @@ class CommentRepo {
     }
 
     public function delete($comment) {
-        $comment->text = trans('activities.comment_deleted');
-        $comment->html = trans('activities.comment_deleted');
+        $comment->text = trans('entities.comment_deleted');
+        $comment->html = trans('entities.comment_deleted');
         $comment->active = false;
         $userId = user()->id;
         $comment->updated_by = $userId;