You are here

function _book_access_rebuild_batch_finished in Book access 6

1 string reference to '_book_access_rebuild_batch_finished'
book_access_permissions_form_submit in ./book_access.admin.inc
Submission callback for the administration settings.

File

./book_access.admin.inc, line 394
Administration interface for the Book access module.

Code

function _book_access_rebuild_batch_finished($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('The book access permissions have been rebuilt.'));
    node_access_needs_rebuild(FALSE);
  }
  else {
    drupal_set_message(t('The book access permissions have not been properly rebuilt.'), 'error');
  }
  cache_clear_all();
}