From f55a4c219a3748cbc1f1e2087f145fa3084e85a6 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 4 Jun 2009 06:17:03 +0000 Subject: [PATCH] Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation. --- includes/Pager.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/Pager.php b/includes/Pager.php index 7b6fcf8a1c..8271f1876a 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -517,8 +517,6 @@ abstract class AlphabeticPager extends IndexPager { function getNavigationBar() { global $wgLang; - if ( $this->mIsFirst && $this->mIsLast ) return ''; - if( isset( $this->mNavigationBar ) ) { return $this->mNavigationBar; } @@ -600,8 +598,6 @@ abstract class ReverseChronologicalPager extends IndexPager { function getNavigationBar() { global $wgLang; - if ( $this->mIsFirst && $this->mIsLast ) return ''; - if ( isset( $this->mNavigationBar ) ) { return $this->mNavigationBar; } -- 2.20.1