Index: trunk/extensions/CentralAuth/specials/SpecialGlobalUsers.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | global $wgOut, $wgRequest, $wgContLang; |
11 | 11 | $this->setHeaders(); |
12 | 12 | |
13 | | - $pg = new GlobalUsersPager(); |
| 13 | + $pg = new GlobalUsersPager( $this->getContext(), $par ); |
14 | 14 | |
15 | 15 | if ( $par ) { |
16 | 16 | $pg->setGroup( $par ); |
— | — | @@ -33,8 +33,8 @@ |
34 | 34 | class GlobalUsersPager extends UsersPager { |
35 | 35 | protected $requestedGroup = false, $requestedUser; |
36 | 36 | |
37 | | - function __construct() { |
38 | | - parent::__construct(); |
| 37 | + function __construct( IContextSource $context = null, $par = null ) { |
| 38 | + parent::__construct( $context, $par ); |
39 | 39 | $this->mDb = CentralAuthUser::getCentralSlaveDB(); |
40 | 40 | } |
41 | 41 | |