summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-26 19:44:40 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-26 19:44:40 +0000
commit7a6f73f49d0cdbb544ca1a8af36ed3502487456c (patch)
tree9b9765f522c72ada5179f57a7f556ae7402d72bb /modules/comment
parentbda52632a5aa033d44151c224a39236b223c6b0e (diff)
downloadbrdo-7a6f73f49d0cdbb544ca1a8af36ed3502487456c.tar.gz
brdo-7a6f73f49d0cdbb544ca1a8af36ed3502487456c.tar.bz2
- Patch #330748 by stBorchert: remove from theme_pager*.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.admin.inc2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index a3cbe494d..15c426390 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -103,7 +103,7 @@ function comment_admin_overview($type = 'new', $arg) {
);
$form['pager'] = array(
- '#markup' => theme('pager', NULL, 50, 0)
+ '#markup' => theme('pager', NULL)
);
return $form;
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 13e272ecd..74f6c21b2 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1194,7 +1194,7 @@ function comment_render($node, $cid = 0) {
$comments .= '</div>';
}
$output .= $comments;
- $output .= theme('pager', NULL, $comments_per_page, 0);
+ $output .= theme('pager', NULL);
}
// If enabled, show new comment form if it's not already being displayed.