From bfc897d533d9c9d2642c300bc771ca10e7ee8648 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 24 May 2001 21:49:10 +0000 Subject: - 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. --- modules/watchdog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/watchdog.module') 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; } -- cgit v1.2.3