You are here

function user_register_notify_install in User registration notification 7

Same name and namespace in other branches
  1. 5 user_register_notify.install \user_register_notify_install()
  2. 6 user_register_notify.install \user_register_notify_install()

Implements hook_install().

File

./user_register_notify.install, line 11
Installation file for user_register_notify module.

Code

function user_register_notify_install() {

  // Set the weight of the module lower so modules like logintobogie don't cause
  // problems.
  db_update('system')
    ->fields(array(
    'weight' => 1002,
  ))
    ->condition('name', 'user_register_notify')
    ->execute();
}