summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 1a52d3da4..34a8e74d4 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -339,12 +339,7 @@ function menu_execute_active_handler($path = NULL) {
menu_rebuild();
}
if ($router_item = menu_get_item($path)) {
- $cache = cache_get('registry:' . $router_item['path'], 'cache_registry');
- if (!empty($cache->data)) {
- foreach(explode(';', $cache->data) as $file) {
- require_once($file);
- }
- }
+ registry_load_path_files();
if ($router_item['access']) {
if (drupal_function_exists($router_item['page_callback'])) {
return call_user_func_array($router_item['page_callback'], $router_item['page_arguments']);