Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/98797


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/97/98797/1

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: newchange
Gerrit-Change-Id: I1e8be3d8b55464a5190ecc0821171072cd584fdd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to