summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-19 07:41:55 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-19 07:41:55 +0000
commit2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389 (patch)
tree2035e2cd3eaff49f7179cb7b05bf9fe31dcc634d /modules/watchdog.module
parente4695fd5edd0d2da9f92845ea3868bb03e75f630 (diff)
downloadbrdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.gz
brdo-2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389.tar.bz2
- Committed a partial administration page integration patch.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index bad8243d7..238479200 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -126,17 +126,18 @@ function watchdog_admin() {
if (user_access("administer watchdog")) {
switch (arg(2)) {
case "help":
- watchdog_help();
+ $output = watchdog_help();
break;
case "view":
- print watchdog_view(arg(3));
+ $output = watchdog_view(arg(3));
break;
default:
- print watchdog_overview(arg(2));
+ $output = watchdog_overview(arg(2));
}
+ return $output;
}
else {
- print message_access();
+ return message_access();
}
}