Use UserIdentity::isRegistered instead of User::isAnon in BlockManager
authorThalia <thalia.e.chan@googlemail.com>
Mon, 26 Aug 2019 23:21:04 +0000 (00:21 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Tue, 27 Aug 2019 06:23:58 +0000 (07:23 +0100)
commit81f96bee1f753d418fdc3a4f8d83b2c967e84153
treec3e8f0f9e3031d01c9ad972a1181e36280fdff7e
parent53d16a8c1d4779b464c71d2f3a3f3f82445ba2b3
Use UserIdentity::isRegistered instead of User::isAnon in BlockManager

BlockManager::getBlockFromCookieValue accepts a UserIdentity, so should
only call methods defined in that interface.

Change-Id: If30df15b800cceee0ad052a2e0524df8b28d9901
includes/block/BlockManager.php