function _book_access_ui_reset_batch_finished in Book access 7.2
1 string reference to '_book_access_ui_reset_batch_finished'
- book_access_ui_reset_all_to_defaults_submit in ./
book_access_ui.admin.inc - Form submissions callback for book_access_ui_reset_all_to_defaults().
File
- ./
book_access_ui.admin.inc, line 471 - Administration interface for the Book access module.
Code
function _book_access_ui_reset_batch_finished($success, $results, $operations) {
global $base_url;
if ($success) {
drupal_set_message(t('Book permissions have been reset to their defaults.'));
drupal_set_message(t('You will need to <a href=\'!base/book_access/rebuild_all\'>rebuild all permissions</a> to propagate the reset.', array(
'!base' => $base_url,
)));
node_access_needs_rebuild(FALSE);
}
else {
drupal_set_message(t('Book access permissions have not been properly reset (uh oh).'), 'error');
}
cache_clear_all();
}