$wgAuth is no longer a stub object
authorKunal Mehta <legoktm@gmail.com>
Wed, 13 Aug 2014 22:40:01 +0000 (15:40 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 8 Sep 2014 08:27:34 +0000 (01:27 -0700)
Follows-up Icb36e47a

Change-Id: I92031c905cd61cc31eae34c90f2ce49a8f84ba8b

includes/User.php

index 942ba82..4557096 100644 (file)
@@ -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();
                }