diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-31 12:34:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-31 12:34:07 +0000 |
commit | de95001c9291d6f2e66374975b793f84dc155aca (patch) | |
tree | dd57be3f08caf0e32a828bb4961396c79029c0ba /modules/watchdog/watchdog.module | |
parent | 8cb66b212ef4df3f24c22f2ab143f2141788a74f (diff) | |
download | brdo-de95001c9291d6f2e66374975b793f84dc155aca.tar.gz brdo-de95001c9291d6f2e66374975b793f84dc155aca.tar.bz2 |
- Tidied up the use of check_output(). Might make rendering pages a bit
snappier (performance improvement).
Diffstat (limited to 'modules/watchdog/watchdog.module')
-rw-r--r-- | modules/watchdog/watchdog.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 5fef79158..396351953 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -71,12 +71,12 @@ function watchdog_view($id) { if ($watchdog = db_fetch_object($result)) { $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">"; - $output .= " <tr><th>" . t("Type") . ":" . "</th><td>". check_output($watchdog->type) ."</td></tr>"; - $output .= " <tr><th>" . t("Date") . ":" . "</th><td>". format_date($watchdog->timestamp, "large") ."</td></tr>"; - $output .= " <tr><th>" . t("User") . ":" . "</th><td>". format_name($watchdog) ."</td></tr>"; - $output .= " <tr><th>" . t("Location") . ":" . "</th><td>". check_output($watchdog->location) ."</td></tr>"; - $output .= " <tr><th>" . t("Message") . ":" . "</th><td>". check_output($watchdog->message) ."</td></tr>"; - $output .= " <tr><th>" . t("Hostname") . ":" . "</th><td>". check_output($watchdog->hostname) ."</td></tr>"; + $output .= " <tr><th>". t("Type") ."</th><td>$watchdog->type</td></tr>"; + $output .= " <tr><th>". t("Date") ."</th><td>". format_date($watchdog->timestamp, "large") ."</td></tr>"; + $output .= " <tr><th>". t("User") ."</th><td>". format_name($watchdog) ."</td></tr>"; + $output .= " <tr><th>". t("Location") ."</th><td>$watchdog->location</td></tr>"; + $output .= " <tr><th>". t("Message") ."</th><td>$watchdog->message</td></tr>"; + $output .= " <tr><th>". t("Hostname") ."</th><td>$watchdog->hostname</td></tr>"; $output .= "</table>"; return $output; |