jenkins-bot has submitted this change and it was merged. Change subject: Remove unused globals in the web api ......................................................................
Remove unused globals in the web api Change-Id: I9ae428ed9f14f95c649953f62d729a9a9be7869b --- M includes/api/ApiHelp.php M includes/api/ApiParamInfo.php 2 files changed, 0 insertions(+), 4 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index b33b087..5d46a07 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -32,8 +32,6 @@ */ class ApiHelp extends ApiBase { public function execute() { - global $wgContLang; - $params = $this->extractRequestParams(); $modules = array(); diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index b1c092e..17773a7 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -37,8 +37,6 @@ } public function execute() { - global $wgContLang; - // Get parameters $params = $this->extractRequestParams(); -- To view, visit https://gerrit.wikimedia.org/r/170074 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9ae428ed9f14f95c649953f62d729a9a9be7869b Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Bartosz DziewoĆski <matma....@gmail.com> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits