From 77b4b22a69c191d143d4f8f733da39018193957c Mon Sep 17 00:00:00 2001
From: Jennifer Hodgdon <yahgrp@poplarware.com>
Date: Mon, 13 May 2013 11:14:05 -0700
Subject: [PATCH] Issue #1980072 by David_Rothstein: Fix incorrect statement in
 module_uninstall() docs

---
 core/includes/module.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/includes/module.inc b/core/includes/module.inc
index 5360a001dbc9..b099a558aa46 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
-- 
GitLab