]> BookStack Code Mirror - bookstack/blobdiff - app/Repos/CommentRepo.php
Added migration file.
[bookstack] / app / Repos / CommentRepo.php
index 55af0fe12ebac8508348847fa25d244a41e19ed4..ce71b923498ac0ed376ac25ab154f42852ddfb2b 100644 (file)
@@ -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('entities.comment_deleted');
+        $comment->html = trans('entities.comment_deleted');
         $comment->active = false;
         $userId = user()->id;
         $comment->updated_by = $userId;