summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-19 22:11:46 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-19 22:11:46 +0000
commit652fb3474adb707dff2e5f7899c5911b1c4ef85f (patch)
tree375e087f8b2a298abfff13f18ad9a881d6b15561 /includes
parent3714827685aa14ba51fdbcc431fa421b27abd314 (diff)
downloadbrdo-652fb3474adb707dff2e5f7899c5911b1c4ef85f.tar.gz
brdo-652fb3474adb707dff2e5f7899c5911b1c4ef85f.tar.bz2
- Removed instances of the 'throttle_enable' variable.
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc2
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);
}