summaryrefslogtreecommitdiff
path: root/modules/book/book.module
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/book/book.module
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/book/book.module')
-rw-r--r--modules/book/book.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index dcd1be263..2a7c7acfe 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -564,8 +564,6 @@ function book_remove_form_submit($form, &$form_state) {
// Only allowed when this is not a book (top-level page).
menu_link_delete($node->book['mlid']);
db_query('DELETE FROM {book} WHERE nid = %d', $node->nid);
- // Clear the node load cache.
- cache_clear_all('*', 'cache_node', TRUE);
drupal_set_message(t('The post has been removed from the book.'));
}
$form_state['redirect'] = 'node/'. $node->nid;
@@ -611,8 +609,6 @@ function _book_update_outline(&$node) {
// Update the bid for this page and all children.
book_update_bid($node->book);
}
- // Clear the node load cache.
- cache_clear_all('*', 'cache_node', TRUE);
}
return TRUE;
}