diff options
author | daniel <dkinzler@wikimedia.org> | 2019-05-09 12:13:30 +0200 |
---|---|---|
committer | Daniel Kinzler <dkinzler@wikimedia.org> | 2019-05-11 07:33:25 +0000 |
commit | 9f973228d5d31cb88156e2958193cdd9a3338a34 (patch) | |
tree | bd843410d4a56a5a3da0585b0624de838c7e0277 /includes/api/ApiUnblock.php | |
parent | 3074a4521a18e78e52ba44cc7c185bac7af4a866 (diff) | |
download | mediawikicore-9f973228d5d31cb88156e2958193cdd9a3338a34.tar.gz mediawikicore-9f973228d5d31cb88156e2958193cdd9a3338a34.zip |
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
Diffstat (limited to 'includes/api/ApiUnblock.php')
-rw-r--r-- | includes/api/ApiUnblock.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiUnblock.php b/includes/api/ApiUnblock.php index f038b9683bc4..1c72b6728009 100644 --- a/includes/api/ApiUnblock.php +++ b/includes/api/ApiUnblock.php @@ -50,7 +50,7 @@ class ApiUnblock extends ApiBase { $this->dieWithError( $status, null, - [ 'blockinfo' => $this->getBlockInfo( $block ) ] + [ 'blockinfo' => $this->getBlockDetails( $block ) ] ); } } |