From: Kunal Mehta Date: Wed, 13 Aug 2014 22:40:01 +0000 (-0700) Subject: $wgAuth is no longer a stub object X-Git-Tag: 1.31.0-rc.0~14119^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=c7ef6775fe157c2349129b912a2e8a00a392c0a3;p=lhc%2Fweb%2Fwiklou.git $wgAuth is no longer a stub object Follows-up Icb36e47a Change-Id: I92031c905cd61cc31eae34c90f2ce49a8f84ba8b --- diff --git a/includes/User.php b/includes/User.php index 942ba82393..45570966e8 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1885,7 +1885,6 @@ class User implements IDBAccessObject { return $this->mLocked; } global $wgAuth; - StubObject::unstub( $wgAuth ); $authUser = $wgAuth->getUserInstance( $this ); $this->mLocked = (bool)$authUser->isLocked(); return $this->mLocked; @@ -1903,7 +1902,6 @@ class User implements IDBAccessObject { $this->getBlockedStatus(); if ( !$this->mHideName ) { global $wgAuth; - StubObject::unstub( $wgAuth ); $authUser = $wgAuth->getUserInstance( $this ); $this->mHideName = (bool)$authUser->isHidden(); }