i18n_user.install 341 B

123456789101112131415
  1. <?php
  2. /**
  3. * @file
  4. * Installation file for User mail translation module.
  5. */
  6. /**
  7. * Implements hook_install().
  8. */
  9. function i18n_user_install() {
  10. // Set module weight for it to run before any other module implementing hook_mail_alter().
  11. db_query("UPDATE {system} SET weight = -10000 WHERE name = 'i18n_user' AND type = 'module'");
  12. }