Restore ApiQueryUserInfo::getBlockInfo() as a stub.
authordaniel <dkinzler@wikimedia.org>
Thu, 9 May 2019 10:13:30 +0000 (12:13 +0200)
committerDaniel Kinzler <dkinzler@wikimedia.org>
Sat, 11 May 2019 07:33:25 +0000 (07:33 +0000)
commit9f973228d5d31cb88156e2958193cdd9a3338a34
treebd843410d4a56a5a3da0585b0624de838c7e0277
parent3074a4521a18e78e52ba44cc7c185bac7af4a866
Restore ApiQueryUserInfo::getBlockInfo() as a stub.

Fixes unintended breaking change made by I84ed21641c44b2f65ebe.
ApiQueryUserInfo::getBlockInfo() is restoed as a hard deprecated stub.

This renames the method in the new ApiBlockInfoTrait to
getBlockDetails.

Depends-On: I9f40666a31bd4af50762c197c2ce5bf089a5e68c
Change-Id: If47a93878f87d69800e5f305404c22528dac5e94
includes/api/ApiBase.php
includes/api/ApiBlock.php
includes/api/ApiBlockInfoTrait.php
includes/api/ApiQueryUserInfo.php
includes/api/ApiUnblock.php
tests/phpunit/includes/api/ApiBaseTest.php
tests/phpunit/includes/api/ApiBlockInfoTraitTest.php
tests/phpunit/includes/api/ApiQueryUserInfoTest.php [new file with mode: 0644]