projects
/
project/cck.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5167568
)
deleting node n clears cache entries for all nodes whose nid starts with n :-)
author
Yves Chedemois
Sat, 28 Jun 2008 16:15:57 +0000 (16:15 +0000)
committer
Yves Chedemois
Sat, 28 Jun 2008 16:15:57 +0000 (16:15 +0000)
content.module
patch
|
blob
|
blame
|
history
diff --git
a/content.module
b/content.module
index
f3d889e
..
14ab1ed
100644
(file)
--- a/
content.module
+++ b/
content.module
@@
-272,7
+272,7
@@
function content_delete(&$node) {
if (db_table_exists($table)) {
db_query('DELETE FROM {'. $table .'} WHERE nid = %d', $node->nid);
}
- cache_clear_all('content:'. $node->nid, 'cache_content', TRUE);
+ cache_clear_all('content:'. $node->nid .':', 'cache_content', TRUE);
}
/**