summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-05 16:19:25 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-05 16:19:25 +0000
commitd9017f58782dda2705b520c3724372a6c5b99bbe (patch)
tree4efcf975e018ada2c102654d1c19e792b07304e9 /includes/module.inc
parent099d72a917b46431eab4f6f0703d63acf6f39be5 (diff)
downloadbrdo-d9017f58782dda2705b520c3724372a6c5b99bbe.tar.gz
brdo-d9017f58782dda2705b520c3724372a6c5b99bbe.tar.bz2
#591794 follow-up by effulgentsia: Reduce performance overhead of drupal_alter().
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 975aaf29d..fd73f9fce 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -383,6 +383,7 @@ function module_implements($hook, $sort = FALSE, $reset = FALSE) {
$implementations = array();
cache_set('module_implements', array());
drupal_static_reset('module_hook_info');
+ drupal_static_reset('drupal_alter');
cache_clear_all('hook_info', 'cache');
return;
}