From e00eba8f478e1ac79ddd45931be039e4fa5ada92 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 29 Aug 2008 05:19:05 +0000 Subject: [PATCH] * Fix issue with "next" link going to the same place when date given (bug 15364) * Remove some cruft in ContribsPager --- includes/Pager.php | 2 ++ includes/specials/SpecialContributions.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Pager.php b/includes/Pager.php index c4d55b6ea6..f3d99f63da 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -352,6 +352,8 @@ abstract class IndexPager implements Pager { unset( $this->mDefaultQuery['offset'] ); unset( $this->mDefaultQuery['limit'] ); unset( $this->mDefaultQuery['order'] ); + unset( $this->mDefaultQuery['month'] ); + unset( $this->mDefaultQuery['year'] ); } return $this->mDefaultQuery; } diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index c9798e2fc4..74c5f3ad4d 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -30,8 +30,6 @@ class ContribsPager extends ReverseChronologicalPager { function getDefaultQuery() { $query = parent::getDefaultQuery(); $query['target'] = $this->target; - $query['month'] = $this->mMonth; - $query['year'] = $this->mYear; return $query; } -- 2.20.1