From: Tim Starling Date: Thu, 4 Jun 2009 06:17:03 +0000 (+0000) Subject: Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation. X-Git-Tag: 1.31.0-rc.0~41512 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=f55a4c219a3748cbc1f1e2087f145fa3084e85a6;p=lhc%2Fweb%2Fwiklou.git Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation. --- 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; }