From e4e2205bfe46444898e7b222864ad7ab7a62509b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 May 2008 06:39:57 +0000 Subject: [PATCH] - Patch #221964 by justinrandall: removed left-over code. --- includes/module.inc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/includes/module.inc b/includes/module.inc index e62558af4cd..b7e8bb3e05e 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -231,14 +231,7 @@ function module_load_install($module) { // Make sure the installation API is available include_once './includes/install.inc'; - $file = module_load_include('install', $module); - // Ensure that you can module_invoke something inside the newly-loaded - // file during install. - $module_list = module_list(); - if (!isset($module_list[$module])) { - $module_list[$module]['filename'] = $file; - module_list(TRUE, FALSE, FALSE, $module_list); - } + module_load_include('install', $module); } /**