diff options
Diffstat (limited to 'includes/module.inc')
-rw-r--r-- | includes/module.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc index cbc4bb0d5..d6dc5f358 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -59,7 +59,7 @@ function module_list($refresh = 0, $bootstrap = 0) { ** loaded based on server load. We have to directly access the ** throttle variables as the throttle.module may not be loaded yet. */ - $throttle = (variable_get("throttle_enable", 0) && $module->throttle && (variable_get("throttle_level", 0) >= 5)); + $throttle = ($module->throttle && variable_get("throttle_level", 0) > 4); if ($bootstrap && !$throttle) { $list[$module->name] = array("name"=> $module->name, "bootstrap" => $module->bootstrap, "filename" => $module->filename); } |