Révision 950416da
Ajouté par Assos Assos il y a plus de 5 ans
drupal7/sites/all/modules/rules/rules_i18n/rules_i18n.module | ||
---|---|---|
5 | 5 |
* Rules i18n integration. |
6 | 6 |
*/ |
7 | 7 |
|
8 |
|
|
9 | 8 |
/** |
10 | 9 |
* Implements hook_menu(). |
11 | 10 |
*/ |
... | ... | |
111 | 110 |
* Implements hook_rules_config_delete(). |
112 | 111 |
*/ |
113 | 112 |
function rules_i18n_rules_config_delete($rules_config) { |
114 |
i18n_string_object_remove('rules_config', $rules_config); |
|
113 |
// Only react on real delete, not revert. |
|
114 |
if (!$rules_config->hasStatus(ENTITY_IN_CODE)) { |
|
115 |
i18n_string_object_remove('rules_config', $rules_config); |
|
116 |
} |
|
115 | 117 |
} |
116 | 118 |
|
117 | 119 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules