From 9f973228d5d31cb88156e2958193cdd9a3338a34 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 9 May 2019 12:13:30 +0200 Subject: 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/ApiUnblock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/api/ApiUnblock.php') 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 ) ] ); } } -- cgit v1.2.3