migrate_extras.module 298 B

12345678910
  1. <?php
  2. function migrate_extras_init() {
  3. // Set variable to FALSE to disable rules processing.
  4. if (module_exists('rules') && !variable_get('migrate_extras_rules', TRUE)) {
  5. foreach (rules_get_event_sets() as $key => $set) {
  6. $GLOBALS['conf']['rules_inactive_sets'][] = $key;
  7. }
  8. }
  9. }