You are here

function module_grants_enable in Module Grants 7

Implements hook_enable()

File

./module_grants.install, line 26
Install and uninstall hooks for Module Grants module

Code

function module_grants_enable() {
  db_update('system')
    ->fields(array(
    'weight' => 10000,
  ))
    ->condition('type', 'module')
    ->condition('name', 'module_grants')
    ->execute();
}