uppdated modules

This commit is contained in:
Bachir Soussi Chiadmi
2017-01-22 16:19:36 +01:00
parent 03be8f82aa
commit 8416e3eea1
748 changed files with 32317 additions and 20900 deletions
@@ -1124,7 +1124,8 @@ abstract class RulesPlugin extends RulesExtendable {
elseif ($this->plugin == 'reaction rule') {
// Clear event sets cached for evaluation.
cache_clear_all('event_', 'cache_rules', TRUE);
variable_del('rules_event_whitelist');
// Clear event whitelist for rebuild.
cache_clear_all('rules_event_whitelist', 'cache_rules', TRUE);
}
drupal_static_reset('rules_get_cache');
drupal_static_reset('rules_config_update_dirty_flag');
@@ -809,7 +809,7 @@ class RulesEventSet extends RulesRuleSet {
}
// Cache a whitelist of configured events so we can use it to speed up later
// calls. See rules_invoke_event().
variable_set('rules_event_whitelist', array_flip(array_keys($sets)));
rules_set_cache('rules_event_whitelist', array_flip(array_keys($sets)));
}
protected function stateVariables($element = NULL) {