You are here

function rules_form_alter in Rules 6

Implementation of hook_form_alter() Clear the cache when a module is deactivated

File

rules/rules.module, line 935
Rules engine module

Code

function rules_form_alter($form, $form_state, $form_id) {
  if ($form_id == 'system_modules') {
    rules_clear_cache();
  }
}