You are here

function book_access_disable in Book access 5

Same name and namespace in other branches
  1. 6.2 book_access.install \book_access_disable()
  2. 6 book_access.install \book_access_disable()
  3. 7.2 book_access.install \book_access_disable()

Implements hook_disable().

File

./book_access.install, line 13

Code

function book_access_disable() {
  book_access_enabled(FALSE);
  node_access_rebuild();
}