diff --git a/core/includes/module.inc b/core/includes/module.inc index 5360a001dbc98e101f5471678f1e6965cdf89bf4..b099a558aa46d9d0decc45e8f5fc750ea1d9b183 100644 --- a/core/includes/module.inc +++ b/core/includes/module.inc @@ -523,10 +523,10 @@ function module_disable($module_list, $disable_dependents = TRUE) { /** * Uninstalls a given list of disabled modules. * - * Modules that are still enabled will be silently ignored. - * * @param array $module_list - * The modules to uninstall. + * The modules to uninstall. It is the caller's responsibility to ensure that + * all modules in this list have already been disabled before this function + * is called. * @param bool $uninstall_dependents * (optional) If TRUE, the function will check that all modules which depend * on the passed-in module list either are already uninstalled or contained in