From ef95773b1c6e3b2de1363e607d31f4e8808ec304 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 14 Nov 2004 20:20:09 +0000 Subject: - 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 --- modules/system/system.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.module b/modules/system/system.module index 556cdb2e2..de83f63c3 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -470,8 +470,7 @@ function system_module_listing() { ksort($files); $required = array('modules/admin.module', 'modules/block.module', 'modules/filter.module', 'modules/system.module', 'modules/user.module', 'modules/watchdog.module'); - // the throttle mechanism requires additional modules always be enabled - $throttle_required = array_merge($required, array('modules/statistics.module', 'modules/throttle.module')); + $throttle_required = array_merge($required, array('modules/throttle.module')); $header = array(t('Name'), t('Description'), t('Enabled'), t('Throttle')); -- cgit v1.2.3