Skip to content
Snippets Groups Projects
Commit e4e2205b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #221964 by justinrandall: removed left-over code.

parent e3fcf349
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment