Make ApiQueryUserInfo::getBlockInfo accept an AbstractBlock
authorThalia <thalia.e.chan@googlemail.com>
Mon, 13 May 2019 14:20:38 +0000 (15:20 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Mon, 13 May 2019 14:20:38 +0000 (15:20 +0100)
commitf5ef28cadc15ae027f7580467314051d54cb7014
treef6fb56ba8d49f6277cae37c880d51bf8bd4acf15
parentba2788f62fc19e2ccbaf9e77f0937e16547e941d
Make ApiQueryUserInfo::getBlockInfo accept an AbstractBlock

This method was removed (I84ed216) before the Block class was
refactored (I83bceb5) and restored (If47a938) after the refactor.

After the refactor, this method should accept and AbstractBlock,
so it can handle a SystemBlock as well as a database Block.

Change-Id: Ice8a2e7c19e88406229bd836a45f377abdb72fb6
includes/api/ApiQueryUserInfo.php