diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-07 06:39:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-07 06:39:57 +0000 |
commit | e4e2205bfe46444898e7b222864ad7ab7a62509b (patch) | |
tree | 77cb3528a33369400421c29663abdf22688ab85e | |
parent | e3fcf349327306ed168f509ace94f97262cbca52 (diff) | |
download | brdo-e4e2205bfe46444898e7b222864ad7ab7a62509b.tar.gz brdo-e4e2205bfe46444898e7b222864ad7ab7a62509b.tar.bz2 |
- Patch #221964 by justinrandall: removed left-over code.
-rw-r--r-- | includes/module.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/includes/module.inc b/includes/module.inc index e62558af4..b7e8bb3e0 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); } /** |