From 653733a84c6b369979b475a4eb4f3cc7e6e3c530 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 5 Feb 2004 17:32:36 +0000 Subject: - Throttle: fixed incorrect watchdog message (seems a leftover from before). --- modules/throttle.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/throttle.module') diff --git a/modules/throttle.module b/modules/throttle.module index c92cddfee..88fdae8ee 100644 --- a/modules/throttle.module +++ b/modules/throttle.module @@ -169,11 +169,11 @@ function _throttle_update($hits) { // log the change if ($throttle_new < $throttle) { variable_set('throttle_level', $throttle - 1); - watchdog('regular', "message: '$hits' hits in past minute; throttle decreased to level ". $throttle_new); + watchdog('regular', "message: '$hits' hits in past minute; throttle decreased to level ". ($throttle - 1)); } if ($throttle_new > $throttle) { variable_set('throttle_level', $throttle + 1); - watchdog('warning', "warning: '$hits' hits in past minute; throttle increased to level ". $throttle_new); + watchdog('warning', "warning: '$hits' hits in past minute; throttle increased to level ". ($throttle + 1)); } } -- cgit v1.2.3