function book_access_update_6105 in Book access 6
Implements hook_update_N().
File
- ./
book_access.install, line 278
Code
function book_access_update_6105() {
$ret = array();
if (!variable_get('menu_rebuild_needed', FALSE)) {
variable_set('menu_rebuild_needed', TRUE);
$ret[] = array(
'success' => TRUE,
'query' => 'Updated the module menus',
);
}
cache_clear_all('*', 'cache_block', TRUE);
cache_clear_all('*', 'cache_form', TRUE);
cache_clear_all('*', 'cache_page', TRUE);
$ret[] = array(
'success' => TRUE,
'query' => 'Cleared the cache',
);
return $ret;
}