diff options
Diffstat (limited to 'modules/throttle.module')
-rw-r--r-- | modules/throttle.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/throttle.module b/modules/throttle.module index 7af30a89a..1dd8f0ed9 100644 --- a/modules/throttle.module +++ b/modules/throttle.module @@ -175,11 +175,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, t('throttle: %hits hits in past minute; throttle decreased to level %level', array('%hits' => $hits, '%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, t('throttle: %hits hits in past minute; throttle increased to level %level', array('%hits' => $hits, '%level' => ($throttle + 1)))); } } |