diff --git a/modules/throttle.module b/modules/throttle.module index dcf2e00d10a557cd64517d37adccdf64d7ddbfc1..78ace23a263f4647dd71b3b6615f58f0843eabc0 100644 --- a/modules/throttle.module +++ b/modules/throttle.module @@ -171,11 +171,11 @@ function _throttle_update($hits) { // log the change if ($throttle_new < $throttle) { variable_set('throttle_level', $throttle - 1); - watchdog($type, "throttle: '$hits' hits in past minute; throttle decreased to level ". ($throttle - 1)); + watchdog($type, "throttle: $hits hits in past minute; throttle decreased to level ". ($throttle - 1)); } if ($throttle_new > $throttle) { variable_set('throttle_level', $throttle + 1); - watchdog($type, "throttle: '$hits' hits in past minute; throttle increased to level ". ($throttle + 1)); + watchdog($type, "throttle: $hits hits in past minute; throttle increased to level ". ($throttle + 1)); } } diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index dcf2e00d10a557cd64517d37adccdf64d7ddbfc1..78ace23a263f4647dd71b3b6615f58f0843eabc0 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -171,11 +171,11 @@ function _throttle_update($hits) { // log the change if ($throttle_new < $throttle) { variable_set('throttle_level', $throttle - 1); - watchdog($type, "throttle: '$hits' hits in past minute; throttle decreased to level ". ($throttle - 1)); + watchdog($type, "throttle: $hits hits in past minute; throttle decreased to level ". ($throttle - 1)); } if ($throttle_new > $throttle) { variable_set('throttle_level', $throttle + 1); - watchdog($type, "throttle: '$hits' hits in past minute; throttle increased to level ". ($throttle + 1)); + watchdog($type, "throttle: $hits hits in past minute; throttle increased to level ". ($throttle + 1)); } }