Move around User::getEditCount() code.
authorPlatonides <platonides@gmail.com>
Mon, 26 Nov 2012 21:56:42 +0000 (22:56 +0100)
committerPlatonides <platonides@gmail.com>
Mon, 26 Nov 2012 21:56:42 +0000 (22:56 +0100)
commit5e309c21b4429dc48d0f696d568ebc6a22dd8f81
tree1ff106c4bb69c6b2cea3516a3a849d7c74ccee44
parent720a6824257ff1af1559efebee98a1b0debd98d9
Move around User::getEditCount() code.

It's simpler to do an early return and catch almost everything
in the profiling.

Change-Id: I2306c7b39d9808989f11d7d9d34db06c39d51820
includes/User.php