summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
committerDries Buytaert <dries@buytaert.net>2005-04-24 16:34:36 +0000
commita76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9 (patch)
tree77a2538001468623dc122943f019daeb6fce9be1 /modules/watchdog.module
parent79a5700c57e8ed86b4aab66022a448df978d2e3f (diff)
downloadbrdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.gz
brdo-a76a1e1f3f5b641663ef3d00a752ec1cbd1d4ee9.tar.bz2
- Patch 20910 by chx: centralize print theme page.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index c998c91a4..64a580fef 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -125,7 +125,7 @@ function watchdog_overview() {
$output = '<div class="container-inline">'. form($form) .'</div>';
$output .= theme('table', $header, $rows);
- print theme('page', $output);
+ return $output;
}
/**
@@ -146,7 +146,7 @@ function watchdog_event($id) {
$output .= ' <tr><th>'. t('Hostname') ."</th><td>$watchdog->hostname</td></tr>";
$output .= '</table>';
}
- print theme('page', $output);
+ return $output;
}
function _watchdog_get_message_types() {