From d2eb90c45eddbafdd37c8dbd3026b8bf43e10150 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 10 Aug 2006 05:47:37 +0000 Subject: [PATCH] - Patch #77896 by killes: don't clear cache inside loop. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 3d4be56b7a5e..d66101c6dc8b 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1152,8 +1152,8 @@ function comment_multiple_delete_confirm_submit($form_id, $edit) { $comment = _comment_load($cid); _comment_delete_thread($comment); _comment_update_node_statistics($comment->nid); - cache_clear_all(); } + cache_clear_all(); drupal_set_message(t('The comments have been deleted.')); } drupal_goto('admin/content/comment'); -- GitLab