Index: trunk/extensions/GeoData/ApiQueryGeoSearch.php |
— | — | @@ -24,8 +24,6 @@ |
25 | 25 | * @return |
26 | 26 | */ |
27 | 27 | private function run( $resultPageSet = null ) { |
28 | | - global $wgMaxGeoSearchRadius; |
29 | | - |
30 | 28 | $params = $this->extractRequestParams(); |
31 | 29 | $exclude = false; |
32 | 30 | |
— | — | @@ -96,7 +94,6 @@ |
97 | 95 | |
98 | 96 | $res = $this->select( __METHOD__ ); |
99 | 97 | |
100 | | - $count = 0; |
101 | 98 | $result = $this->getResult(); |
102 | 99 | foreach ( $res as $row ) { |
103 | 100 | if ( is_null( $resultPageSet ) ) { |