Properly check whether a user exists
authorKunal Mehta <legoktm@gmail.com>
Mon, 14 Jul 2014 05:03:00 +0000 (22:03 -0700)
committerKunal Mehta <legoktm@gmail.com>
Mon, 14 Jul 2014 05:03:00 +0000 (22:03 -0700)
commit78a8351111049794804af3d91e9e903d9341f721
treeb73bdc4eac92af0a98d13771d182dcda1b061455
parent0367d94952c1e37e2cbbdfe9d0542330967df8fd
Properly check whether a user exists

User::newFromId() will never return false. We have to actually
load from the database to see whether the user still exists.

Change-Id: Id9329635717e6a4f1f34d0b2b665bb790685d2fa
includes/context/RequestContext.php