diff options
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book.module | 4 |
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; } |