From bea3dbb77574cb5b4274c318b01443d640d5c87b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Dec 2003 18:25:09 +0000 Subject: - Patch 0185 by Jeremy: made it possible to automatically disable modules when under heave load. --- includes/common.inc | 3 --- 1 file changed, 3 deletions(-) (limited to 'includes/common.inc') 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"); - } } } -- cgit v1.2.3