You are here

function book_access_install in Book access 6.2

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

Implements hook_install().

File

./book_access.install, line 233

Code

function book_access_install() {
  drupal_install_schema('book_access');
  db_query("UPDATE {system} SET weight = 2 WHERE name = 'book_access'");
  drupal_load('module', 'book_access');
  $vars = new BookAccessVars();
  $vars
    ->saveDefaults();
}