Révision c22e192e
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/rules/rules.install | ||
---|---|---|
508 | 508 |
} |
509 | 509 |
} |
510 | 510 |
} |
511 |
|
|
512 |
/** |
|
513 |
* Switch out the rules_event_whitelist variable for a cache equivalent. |
|
514 |
*/ |
|
515 |
function rules_update_7214() { |
|
516 |
// Set new event_whitelist cache cid. |
|
517 |
rules_set_cache('rules_event_whitelist', variable_get('rules_event_whitelist', array())); |
|
518 |
// Delete old conf variable. |
|
519 |
variable_del('rules_event_whitelist'); |
|
520 |
// Avoid any missing class errors. |
|
521 |
registry_rebuild(); |
|
522 |
// Clear and rebuild Rules caches. |
|
523 |
// See: rules_admin_settings_cache_rebuild_submit. |
|
524 |
rules_clear_cache(); |
|
525 |
rules_get_cache(); |
|
526 |
_rules_rebuild_component_cache(); |
|
527 |
RulesEventSet::rebuildEventCache(); |
|
528 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules