You are here

function simple_access_install in Simple Access 6.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. 7.2 simple_access.install \simple_access_install()

Implementation of hook_install()

File

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

Code

function simple_access_install() {
  drupal_install_schema('simple_access');
  db_query("UPDATE {system} SET weight = 9 WHERE name = '%s'", 'simple_access');
  drupal_set_message(t('simple access has created the required tables.'));
}