You are here

function simple_pass_reset_install in Simple Password Reset 7

Same name and namespace in other branches
  1. 8 simple_pass_reset.install \simple_pass_reset_install()

On install, make our module's weight higher than system.module.

File

./simple_pass_reset.install, line 10
Drupal install and update hooks.

Code

function simple_pass_reset_install() {
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'simple_pass_reset', '=')
    ->execute();
}