function og_role_watchdog_install in Role Watchdog 7
Same name and namespace in other branches
- 6.2 modules/og_role_watchdog/og_role_watchdog.install \og_role_watchdog_install()
- 6 modules/og_role_watchdog/og_role_watchdog.install \og_role_watchdog_install()
- 7.2 modules/og_role_watchdog/og_role_watchdog.install \og_role_watchdog_install()
Implementation of hook_install().
File
- modules/
og_role_watchdog/ og_role_watchdog.install, line 48 - Install file for Role watchdog.
Code
function og_role_watchdog_install() {
// Set our weight to be lower than role_watchdog so that our hook_user is called first.
db_update('system')
->fields(array(
'weight' => '-1',
))
->condition('type', 'module')
->condition('name', 'og_role_watchdog')
->execute();
}