Remove redundant item loading code in User::createNew
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 24 Feb 2018 00:25:01 +0000 (16:25 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 24 Feb 2018 00:25:01 +0000 (16:25 -0800)
commit0bf48b72331598fa464886f2bc9ca8259c610175
treece3790570b9750a014fa5766a881ead7afe97c34
parente93841a621cadfdbbccd0b5f6a34c9b77e51ec3d
Remove redundant item loading code in User::createNew

These lines were removed in 27c61fb1 but left in when I rebased
61b0c193 due to the conflict. The load() call handles all these
fields, so there is no need to set mName and the load state flag.

Change-Id: Id751241abf8d5592309744e96493122c6bc65f2b
includes/user/User.php