You are here

function oa_users_enable in Open Atrium Core 7.2

Implements hook_enable().

File

modules/oa_users/oa_users.install, line 11
Install, update and uninstall functions for the oa_user module.

Code

function oa_users_enable() {

  // Weight oa_users after panels so menu alter can take effect.
  db_update('system')
    ->fields(array(
    'weight' => 100,
  ))
    ->condition('name', 'oa_users')
    ->condition('type', 'module')
    ->execute();
  oa_users_enable_pages();
}