summaryrefslogtreecommitdiffstats
path: root/core/modules/comment/src/Form/CommentAdminOverview.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/comment/src/Form/CommentAdminOverview.php')
-rw-r--r--core/modules/comment/src/Form/CommentAdminOverview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/comment/src/Form/CommentAdminOverview.php b/core/modules/comment/src/Form/CommentAdminOverview.php
index 8a93ecd..3b97d0d 100644
--- a/core/modules/comment/src/Form/CommentAdminOverview.php
+++ b/core/modules/comment/src/Form/CommentAdminOverview.php
@@ -279,7 +279,7 @@ class CommentAdminOverview extends FormBase {
}
$comment->save();
}
- drupal_set_message($this->t('The update has been performed.'));
+ $this->messenger()->addStatus($this->t('The update has been performed.'));
$form_state->setRedirect('comment.admin');
}
else {