summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-10 05:47:37 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-10 05:47:37 +0000
commitd2eb90c45eddbafdd37c8dbd3026b8bf43e10150 (patch)
tree21d6851295f5cf0e0c247edafceb5cd4d09b0780
parent37469a8df4e754327c24b3cf29b3c1e79d0caaf8 (diff)
downloadbrdo-d2eb90c45eddbafdd37c8dbd3026b8bf43e10150.tar.gz
brdo-d2eb90c45eddbafdd37c8dbd3026b8bf43e10150.tar.bz2
- Patch #77896 by killes: don't clear cache inside loop.
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 3d4be56b7..d66101c6d 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');