root / drupal7 / sites / all / modules / i18n / i18n_user / i18n_user.install @ 651307cd
1 | 85ad3d82 | Assos Assos | <?php |
---|---|---|---|
2 | |||
3 | /** |
||
4 | * @file |
||
5 | * Installation file for User mail translation module. |
||
6 | */ |
||
7 | |||
8 | |||
9 | /** |
||
10 | * Implements hook_install(). |
||
11 | */ |
||
12 | function i18n_user_install() { |
||
13 | // Set module weight for it to run before any other module implementing hook_mail_alter(). |
||
14 | db_query("UPDATE {system} SET weight = -10000 WHERE name = 'i18n_user' AND type = 'module'"); |
||
15 | } |