diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-02-05 17:32:36 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-02-05 17:32:36 +0000 |
commit | 653733a84c6b369979b475a4eb4f3cc7e6e3c530 (patch) | |
tree | b3c2081fe3fa95758222eab3a2de89a4a3e57b21 /modules/throttle | |
parent | abf27dde48bfaa244c6ddc39dcf00ca9fdd72ea5 (diff) | |
download | brdo-653733a84c6b369979b475a4eb4f3cc7e6e3c530.tar.gz brdo-653733a84c6b369979b475a4eb4f3cc7e6e3c530.tar.bz2 |
- Throttle: fixed incorrect watchdog message (seems a leftover from before).
Diffstat (limited to 'modules/throttle')
-rw-r--r-- | modules/throttle/throttle.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index c92cddfee..88fdae8ee 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/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)); } } |