summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-07 18:25:09 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-07 18:25:09 +0000
commitbea3dbb77574cb5b4274c318b01443d640d5c87b (patch)
tree2d339c9a52a0dc6f5ce275de2c355e0cbe7d3a92 /includes/common.inc
parent71eac6dddc79d5b2ad3567969743269534bfc9d6 (diff)
downloadbrdo-bea3dbb77574cb5b4274c318b01443d640d5c87b.tar.gz
brdo-bea3dbb77574cb5b4274c318b01443d640d5c87b.tar.bz2
- Patch 0185 by Jeremy: made it possible to automatically disable modules when
under heave load.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 337090710..842279a91 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -129,9 +129,6 @@ function throttle($type, $rate) {
watchdog("warning", "throttle: '". getenv("REMOTE_ADDR") ."' exceeded submission rate - $throttle->type");
die(message_throttle());
}
- else {
- watchdog($type, "throttle");
- }
}
}