simple_pass_reset.install 535 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Drupal install and update hooks.
  5. */
  6. /**
  7. * On install, make our module's weight higher than system.module.
  8. */
  9. function simple_pass_reset_install() {
  10. db_update('system')
  11. ->fields(array('weight' => 1))
  12. ->condition('name', 'simple_pass_reset', '=')
  13. ->execute();
  14. }
  15. /**
  16. * Update our module's weight higher than system.module.
  17. */
  18. function simple_pass_reset_update_7100() {
  19. db_update('system')
  20. ->fields(array('weight' => 1))
  21. ->condition('name', 'simple_pass_reset', '=')
  22. ->execute();
  23. }