Set $mLoadedItems to true in User::loadFromId()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 1 Jan 2013 17:44:10 +0000 (18:44 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 1 Jan 2013 17:44:10 +0000 (18:44 +0100)
commit7cbf3b6363ef4be3a322f6b1135cb819598552cf
tree29583229ad43915e84ed4bbaeaf471a95db3f758
parentba16916882718bef915519c167449c239c3646e3
Set $mLoadedItems to true in User::loadFromId()

CentralAuth calls User::loadFromId() directly after calling setId().
This avoid having to load the object two times in this case.

Change-Id: Iade37631a9346dff45e18acfa078af37c1fbbfab
includes/User.php