r97839 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97838‎ | r97839 | r97840 >
Date:19:15, 22 September 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Aaron, fix for r97658: removed double call to parent constructor that will also fix the E_NOTICE
Modified paths:
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -35,7 +35,9 @@
3636 class UsersPager extends AlphabeticPager {
3737
3838 function __construct( RequestContext $context = null, $par = null ) {
39 - parent::__construct( $context );
 39+ if ( $context ) {
 40+ $this->setContext( $context );
 41+ }
4042
4143 $request = $this->getRequest();
4244 $parms = explode( '/', ($par = ( $par !== null ) ? $par : '' ) );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97658* Made IndexPager extend ContextSource...ialex20:00, 20 September 2011

Status & tagging log