diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 4f3d350..2a2c703 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -178,7 +178,7 @@ function comment_admin_overview_submit($form, &$form_state) {
   }
   drupal_set_message(t('The update has been performed.'));
   $form_state['redirect'] = 'admin/content/comment';
-  cache_clear_all();
+  cache()->flush();
 }
 
 /**
@@ -229,7 +229,7 @@ function comment_multiple_delete_confirm($form, &$form_state) {
 function comment_multiple_delete_confirm_submit($form, &$form_state) {
   if ($form_state['values']['confirm']) {
     comment_delete_multiple(array_keys($form_state['values']['comments']));
-    cache_clear_all();
+    cache()->flush();
     $count = count($form_state['values']['comments']);
     watchdog('content', 'Deleted @count comments.', array('@count' => $count));
     drupal_set_message(format_plural($count, 'Deleted 1 comment.', 'Deleted @count comments.'));
@@ -277,7 +277,7 @@ function comment_confirm_delete_submit($form, &$form_state) {
   drupal_set_message(t('The comment and all its replies have been deleted.'));
   watchdog('content', 'Deleted comment @cid and its replies.', array('@cid' => $comment->cid));
   // Clear the cache so an anonymous user sees that his comment was deleted.
-  cache_clear_all();
+  cache()->flush();
 
   $form_state['redirect'] = "node/$comment->nid";
 }
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 37a208f..7b5c8f4 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2241,7 +2241,7 @@ function comment_form_submit($form, &$form_state) {
   $form_state['redirect'] = $redirect;
   // Clear the block and page caches so that anonymous users see the comment
   // they have posted.
-  cache_clear_all();
+  cache()->flush();
 }
 
 /**
@@ -2617,7 +2617,7 @@ function comment_unpublish_by_keyword_action_submit($form, $form_state) {
  */
 function comment_save_action($comment) {
   comment_save($comment);
-  cache_clear_all();
+  cache()->flush();
   watchdog('action', 'Saved comment %title', array('%title' => $comment->subject));
 }
 
