r108257 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108256‎ | r108257 | r108258 >
Date:17:29, 6 January 2012
Author:maxsem
Status:ok
Tags:
Comment:
rm unused vars
Modified paths:
  • /trunk/extensions/GeoData/ApiQueryGeoSearch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GeoData/ApiQueryGeoSearch.php
@@ -24,8 +24,6 @@
2525 * @return
2626 */
2727 private function run( $resultPageSet = null ) {
28 - global $wgMaxGeoSearchRadius;
29 -
3028 $params = $this->extractRequestParams();
3129 $exclude = false;
3230
@@ -96,7 +94,6 @@
9795
9896 $res = $this->select( __METHOD__ );
9997
100 - $count = 0;
10198 $result = $this->getResult();
10299 foreach ( $res as $row ) {
103100 if ( is_null( $resultPageSet ) ) {

Status & tagging log