diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-11-14 20:20:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-11-14 20:20:09 +0000 |
commit | ef95773b1c6e3b2de1363e607d31f4e8808ec304 (patch) | |
tree | acea17021fcb12bce0ff3e00b4af9000a79c6197 /modules/statistics/statistics.module | |
parent | 9998d2a14817b69251c1046b507c61eb3bacc750 (diff) | |
download | brdo-ef95773b1c6e3b2de1363e607d31f4e8808ec304.tar.gz brdo-ef95773b1c6e3b2de1363e607d31f4e8808ec304.tar.bz2 |
- Modified patch by Jeremy: throttle module improvements and fixes:
+ throttle module: flush cache when the throttle enables/disables
+ throttle module: prevent throttle being enabled by 0 users or guests when disabled
+ system module: remove requirement for statistics.module
+ block module: update help text to reflect access log is no longer required
+ statistics module: throttle is now enabled/disabled, not using levels 0-5
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r-- | modules/statistics/statistics.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index c2645d434..0ad65b778 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -94,7 +94,7 @@ function statistics_exit() { } } } - if ((variable_get('statistics_enable_access_log', 0)) && (module_invoke('throttle', 'status') < 5)) { + if ((variable_get('statistics_enable_access_log', 0)) && (module_invoke('throttle', 'status') == 0)) { // Statistical logs are enabled. $referrer = referer_uri(); $hostname = $_SERVER['REMOTE_ADDR']; |