diff options
Diffstat (limited to 'includes/module.inc')
-rw-r--r-- | includes/module.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/module.inc b/includes/module.inc index b7e8bb3e0..568a6da18 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -408,9 +408,7 @@ function module_implements($hook, $sort = FALSE, $refresh = FALSE) { $implementations = array(); } else if (!defined('MAINTENANCE_MODE') && empty($implementations)) { - if ($cache = cache_get('hooks', 'cache_registry')) { - $implementations = $cache->data; - } + $implementations = registry_get_hook_implementations_cache(); } if (!isset($implementations[$hook])) { |