diff --git a/includes/module.inc b/includes/module.inc index 43bd83e1dc0ced4260da83aa3744b1f6810cc2ab..ee54468735505585f9cbcefde183e5ac44c79dc7 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -240,7 +240,7 @@ function module_enable($module_list, $disable_modules_installed_hook = FALSE) { } if (!empty($invoke_modules)) { - // Invoke the hook_module_enable after all the modules have been + // Invoke hook_modules_enabled after all the modules have been // enabled. module_invoke_all('modules_enabled', $invoke_modules); } @@ -277,7 +277,7 @@ function module_disable($module_list) { // Refresh the module list to exclude the disabled modules. module_list(TRUE); module_implements('', FALSE, TRUE); - // Invoke hook_module_disable before disabling modules, + // Invoke hook_modules_disabled before disabling modules, // so we can still call module hooks to get information. module_invoke_all('modules_disabled', $invoke_modules); // Force to regenerate the stored list of hook implementations.