summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 2a7c7acfe..dcd1be263 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -564,6 +564,8 @@ 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;
@@ -609,6 +611,8 @@ 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;
}