diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-02 20:30:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-02 20:30:32 +0000 |
commit | 8f2ef0760f8ed962a446f512e7d96db4f6a1bc7b (patch) | |
tree | 6b2777d2d4154d3a80d97e7c249570957eaa1cf6 /modules/watchdog.module | |
parent | 8674cf0953e3be8e0eacd17734bea65f729c33c3 (diff) | |
download | brdo-8f2ef0760f8ed962a446f512e7d96db4f6a1bc7b.tar.gz brdo-8f2ef0760f8ed962a446f512e7d96db4f6a1bc7b.tar.bz2 |
- Added improvement locale.module, based on Gerhard K.'s implementation.
(Thanks Gerhard!)
- Various other small improvements.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r-- | modules/watchdog.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index aa7c5553d..991ff0676 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -20,8 +20,8 @@ function watchdog_link($type) { } 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")); - $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.")); + $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 => "Never"); + $output .= form_select("Discard entries older than", "watchdog_clear", variable_get("watchdog_clear", 604800), $period, "The time watchdog entries should be kept. Older entries will be automatically discarded. Requires crontab."); return $output; } |