From 13f12eb4177d79ffb1347aba355040a4e6b85738 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 30 Sep 2003 15:10:48 +0000 Subject: - Fixed bug #3383: broken admin help of the watchdog module. Patch by Jonathan. --- modules/watchdog.module | 2 ++ modules/watchdog/watchdog.module | 2 ++ 2 files changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/watchdog.module b/modules/watchdog.module index d20b4624e..82881e87c 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -2,9 +2,11 @@ // $Id$ function watchdog_help($section = "admin/help") { + $output = ""; switch ($section) { case "admin/help": + case "admin/watchdog/help": $output .= "

Watchdog module monitors your web site, capturing system events in a log to be reviewed by an authorized individual at a later time. The Watchdog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to ". l("check the Watchdog report", "admin/watchdog") ." on a regular basis as it is often the only way to tell what is going on.

"; $output .= "

To ease administration, the watchdog will automatically discard old log entries, ". l("as configured", "admin/system/modules/watchdog") .". Needs \"cron.php\" to discard the entries.

"; break; diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index d20b4624e..82881e87c 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -2,9 +2,11 @@ // $Id$ function watchdog_help($section = "admin/help") { + $output = ""; switch ($section) { case "admin/help": + case "admin/watchdog/help": $output .= "

Watchdog module monitors your web site, capturing system events in a log to be reviewed by an authorized individual at a later time. The Watchdog log is simply a list of recorded events containing usage data, performance data, errors, warnings and operational information. It is vital to ". l("check the Watchdog report", "admin/watchdog") ." on a regular basis as it is often the only way to tell what is going on.

"; $output .= "

To ease administration, the watchdog will automatically discard old log entries, ". l("as configured", "admin/system/modules/watchdog") .". Needs \"cron.php\" to discard the entries.

"; break; -- cgit v1.2.3