jenkins-bot has submitted this change and it was merged. Change subject: Remove unused local variables ......................................................................
Remove unused local variables Change-Id: I1e8be3d8b55464a5190ecc0821171072cd584fdd --- M messagegroups/SandboxMessageGroup.php M specials/SpecialSearchTranslations.php 2 files changed, 0 insertions(+), 3 deletions(-) Approvals: KartikMistry: Looks good to me, approved jenkins-bot: Verified diff --git a/messagegroups/SandboxMessageGroup.php b/messagegroups/SandboxMessageGroup.php index 59f5ebb..cda56da 100644 --- a/messagegroups/SandboxMessageGroup.php +++ b/messagegroups/SandboxMessageGroup.php @@ -156,7 +156,6 @@ } // Try harder - $keys = array(); if ( method_exists( $group, 'getKeys' ) ) { $keys = $group->getKeys(); } else { diff --git a/specials/SpecialSearchTranslations.php b/specials/SpecialSearchTranslations.php index 0aeffd7..dafa5f5 100644 --- a/specials/SpecialSearchTranslations.php +++ b/specials/SpecialSearchTranslations.php @@ -311,8 +311,6 @@ $nondefaults['grouppath'] = $pathString . $id; } - $url = $this->getTitle()->getLocalUrl( $nondefaults ); - $value = isset( $counts[$id] ) ? $counts[$id] : 0; $count = $this->getLanguage()->formatNum( $value ); -- To view, visit https://gerrit.wikimedia.org/r/98797 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1e8be3d8b55464a5190ecc0821171072cd584fdd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@wikimedia.org> Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits