From: Alexandre Emsenhuber Date: Thu, 22 Sep 2011 19:15:25 +0000 (+0000) Subject: Per Aaron, fix for r97658: removed double call to parent constructor that will also... X-Git-Tag: 1.31.0-rc.0~27474 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=c7ab8dba3a1216f33896a4ff714893b7215e8f5e;p=lhc%2Fweb%2Fwiklou.git Per Aaron, fix for r97658: removed double call to parent constructor that will also fix the E_NOTICE --- diff --git a/includes/specials/SpecialListusers.php b/includes/specials/SpecialListusers.php index 3c807e00b5..fd91582620 100644 --- a/includes/specials/SpecialListusers.php +++ b/includes/specials/SpecialListusers.php @@ -35,7 +35,9 @@ class UsersPager extends AlphabeticPager { function __construct( RequestContext $context = null, $par = null ) { - parent::__construct( $context ); + if ( $context ) { + $this->setContext( $context ); + } $request = $this->getRequest(); $parms = explode( '/', ($par = ( $par !== null ) ? $par : '' ) );