diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-06-15 22:00:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-06-15 22:00:30 +0000 |
commit | 931a4f32dc4841048d088e9f4e61fec89008cd61 (patch) | |
tree | 113ee7724db0d52db141b69ccca2776a1dc3bb8d /modules/throttle/throttle.module | |
parent | 50197a8abcccf1991ce02b4e8bf954c3d38827f3 (diff) | |
download | brdo-931a4f32dc4841048d088e9f4e61fec89008cd61.tar.gz brdo-931a4f32dc4841048d088e9f4e61fec89008cd61.tar.bz2 |
- Patch #152171 by yched: added missing validation routines for settings.
Diffstat (limited to 'modules/throttle/throttle.module')
-rw-r--r-- | modules/throttle/throttle.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index a23614210..61ab73e5b 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -153,6 +153,8 @@ function throttle_admin_settings() { '#description' => t('The auto-throttle probability limiter is an efficiency mechanism to statistically reduce the overhead of the auto-throttle. The limiter is expressed as a percentage of page views, so for example if set to the default of 10% we only perform the extra database queries to update the throttle status 1 out of every 10 page views. The busier your site, the lower you should set the limiter value.') ); + $form['#validate'] = array('throttle_admin_settings_validate'); + return system_settings_form($form); } |