You are here

function system_patterns_cleanup in Patterns 7

Same name and namespace in other branches
  1. 7.2 patterns_components/components/system.inc \system_patterns_cleanup()

File

patterns_components/components/system.inc, line 419

Code

function system_patterns_cleanup($action, $tag, &$data) {
  if ($tag == 'modules') {
    menu_rebuild();

    // TODO: only do this if there has been a module enabled/disabled
  }
  return patterns_results();
}