summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 6356fb137..1eb4aebe7 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -25,19 +25,20 @@ function module_iterate($function, $argument = '') {
}
/**
- * Collect a list of all installed and enabled modules.
+ * Collect a list of all loaded modules. During the bootstrap, return only
+ * vital modules. See bootstrap.inc
*
* @param $refresh
* Whether to force the module list to be regenerated (such as after the
* administrator has changed the system settings).
* @param $bootstrap
- * Whether to return the reduced set of modules loaded in "bootstrap mode" for
- * cached pages. See bootstrap.inc.
+ * Whether to return the reduced set of modules loaded in "bootstrap mode"
+ * for cached pages. See bootstrap.inc.
* @return
* An associative array whose keys and values are the names of all loaded
* modules.
*/
-function module_list($refresh = FALSE, $bootstrap = FALSE) {
+function module_list($refresh = FALSE, $bootstrap = TRUE) {
static $list;
if ($refresh) {