summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 15:31:46 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 15:31:46 +0000
commit4e0071fb8a44c5a91f46638a8414379fa68dad04 (patch)
tree71d08d03cbefb370701a758f21078b47ffefe0f4 /modules/comment
parentbfb72d0ec913b9ba423c6c252fb274929d08e2f3 (diff)
downloadbrdo-4e0071fb8a44c5a91f46638a8414379fa68dad04.tar.gz
brdo-4e0071fb8a44c5a91f46638a8414379fa68dad04.tar.bz2
#111127 rollback by chx, slightly extended: roll back node_load cache, it needs more thought and discussion, so postponed until at least Drupal 7
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 05f3ef70f..ca3661020 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2035,7 +2035,6 @@ function _comment_update_node_statistics($nid) {
$node = db_fetch_object(db_query("SELECT uid, created FROM {node} WHERE nid = %d", $nid));
db_query("UPDATE {node_comment_statistics} SET comment_count = 0, last_comment_timestamp = %d, last_comment_name = '', last_comment_uid = %d WHERE nid = %d", $node->created, $node->uid, $nid);
}
- cache_clear_all($nid, 'cache_node');
}
/**