Move ApiQueryUserInfo::getBlockInfo() to ApiBase
authorAmir Sarabadani <Ladsgroup@gmail.com>
Mon, 29 Apr 2019 07:47:31 +0000 (09:47 +0200)
committerAmir Sarabadani <Ladsgroup@gmail.com>
Sun, 5 May 2019 22:06:30 +0000 (00:06 +0200)
commit693c8b2f5ad07a53c2655954d11f172889f466c3
tree4cf4fcab620f68a898e95fdc4f61ef0001cfd416
parent9ae951e3d593d2087abf2583d3c8ab639a1dc367
Move ApiQueryUserInfo::getBlockInfo() to ApiBase

ApiBase directly uses this method causing a cyclic dependency between
ApiBase and ApiQueryUserInfo

Change-Id: I84ed21641c44b2f65ebe1980b0893d1846db3b34
autoload.php
includes/api/ApiBase.php
includes/api/ApiBlock.php
includes/api/ApiBlockInfoTrait.php [new file with mode: 0644]
includes/api/ApiQueryUserInfo.php
includes/api/ApiUnblock.php
tests/phpunit/includes/api/ApiBaseTest.php
tests/phpunit/includes/api/ApiBlockInfoTraitTest.php [new file with mode: 0644]
tests/phpunit/includes/api/ApiQueryUserInfoTest.php [deleted file]