From c7ef6775fe157c2349129b912a2e8a00a392c0a3 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 13 Aug 2014 15:40:01 -0700 Subject: [PATCH] $wgAuth is no longer a stub object Follows-up Icb36e47a Change-Id: I92031c905cd61cc31eae34c90f2ce49a8f84ba8b --- includes/User.php | 2 -- 1 file changed, 2 deletions(-) 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(); } -- 2.20.1