User::isSafeToLoad() should return false if MW_NO_SESSION
commit8dca366e1135877b86cfacabf0ccb1bb4cd507ab
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 23 Feb 2016 22:05:15 +0000 (23 17:05 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 25 Feb 2016 18:14:13 +0000 (25 13:14 -0500)
tree4f6a729d954a990584bd433b32f976c2f505f326
parentadf29385db4904eae2671a6f892e4d32431768cc
User::isSafeToLoad() should return false if MW_NO_SESSION

Because it's never safe.

Bug: T127233
Change-Id: Ieb5824f1668dc38d1be7c7cbf799da17e581c555
includes/user/User.php