diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-24 21:49:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-24 21:49:10 +0000 |
commit | bfc897d533d9c9d2642c300bc771ca10e7ee8648 (patch) | |
tree | ab508dcf68508daa3a8da5a881d8a433a576514e /modules/watchdog.module | |
parent | c9c14ca5938913afbfd775ab9dcc36db6901ccba (diff) | |
download | brdo-bfc897d533d9c9d2642c300bc771ca10e7ee8648.tar.gz brdo-bfc897d533d9c9d2642c300bc771ca10e7ee8648.tar.bz2 |
- Improved the rating module: made it possible to define "weights"
for the different content types. These weights are used when
calculating each user's gravity. This is a required step before
we can even think of "nodifying" the diary or headline module.
- Polished a bit more on the other modules' crons.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r-- | modules/watchdog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index fd7c4e9e8..9cf2ec908 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -8,7 +8,7 @@ function watchdog_help() { } function watchdog_conf_options() { - $period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 1000000000 => t("never")); + $period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 1000000000 => t("Never")); $output .= form_select(t("Discard entries older than"), "watchdog_clear", variable_get("watchdog_clear", 604800), $period, t("The time watchdog entries should be kept. Older entries will be automatically discarded. Requires crontab.")); return $output; } |