diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-30 15:10:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-30 15:10:48 +0000 |
commit | 13f12eb4177d79ffb1347aba355040a4e6b85738 (patch) | |
tree | 6e7a4612a6fc0d9abfcc9218eda9c5848cefd466 | |
parent | d12e8997c11a802ef4c28466d4937d7714f8b025 (diff) | |
download | brdo-13f12eb4177d79ffb1347aba355040a4e6b85738.tar.gz brdo-13f12eb4177d79ffb1347aba355040a4e6b85738.tar.bz2 |
- Fixed bug #3383: broken admin help of the watchdog module. Patch by
Jonathan.
-rw-r--r-- | modules/watchdog.module | 2 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
2 files changed, 4 insertions, 0 deletions
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 .= "<p>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.</p>"; $output .= "<p>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.</p>"; 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 .= "<p>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.</p>"; $output .= "<p>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.</p>"; break; |