summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-08 18:30:20 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-08 18:30:20 +0000
commit712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7 (patch)
treeb4ca486bfb1394ab5e53051181c2cc7dd7804ef3 /modules/watchdog.module
parentea1acde1d547dfea7b8d0531d1b9ae04f000ea53 (diff)
downloadbrdo-712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7.tar.gz
brdo-712a30b520c67ddc71c3f5a7b0a33ea3ae7b57b7.tar.bz2
- Improvements by Goba:
+ removes the lots of pagers and indirect pager themeing + add the theme_pager() function, which should be called as theme("pager", ...) to get a pager.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 4a80c2a91..479b52cd2 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -98,7 +98,7 @@ function watchdog_overview($type) {
$rows[] = array(array("data" => t("No log messages available."), "colspan" => "5"));
}
- $pager = pager_display(NULL, 50, 0, "admin", tablesort_pager());
+ $pager = theme("pager", NULL, 50, 0, tablesort_pager());
if (!empty($pager)) {
$rows[] = array(array("data" => $pager, "colspan" => "5"));
}