Only check LoggedOut timestamp on the user loaded from session
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Jan 2016 18:26:44 +0000 (13:26 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Jan 2016 18:26:44 +0000 (13:26 -0500)
commit722a7331ad8d98228511f8da38adc7a3c64dd617
tree92d036865adb4aa54558c7e2d7888d41eb0047ea
parent3dcf440a82a5af6fe1d1a46752b50abb77e500d8
Only check LoggedOut timestamp on the user loaded from session

This avoids infinite loops when trying to load other User objects, and
should still preserve the intent of the timestamp (that being as an
invalidation date for client-side caching).

Bug: T124143
Change-Id: Ie304cc3839fdc36a1cb2895e26f7700f4b725159
includes/user/User.php