You are here

function simple_access_install in Simple Access 7.2

Same name and namespace in other branches
  1. 8.3 simple_access.install \simple_access_install()
  2. 5.2 simple_access.install \simple_access_install()
  3. 5 simple_access.install \simple_access_install()
  4. 6.2 simple_access.install \simple_access_install()

Implements hook_install().

File

./simple_access.install, line 11
Installation for Simple Access

Code

function simple_access_install() {
  db_update('system')
    ->fields(array(
    'weight' => 9,
  ))
    ->condition('name', 'simple_access')
    ->execute();
  $t = get_t();
  drupal_set_message($t('simple access has created the required tables.'));
}