From 2fbc7fcf27b34445b7d0714f22a6e3e7f52d2389 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 19 Sep 2003 07:41:55 +0000 Subject: - Committed a partial administration page integration patch. --- modules/watchdog.module | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/watchdog.module') 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(); } } -- cgit v1.2.3