From 2cc0fa341bf8a576422ee022e1a4cba842627621 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 30 Apr 2014 21:11:23 +0200 Subject: [PATCH] remove New York hack Seems to work okay with current boundaries. --- lib/Geocode.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index d3cc793f..7f1d3733 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -483,8 +483,7 @@ $sCountryCodesSQL = join(',', array_map('addQuotes', $this->aCountryCodes)); } - // Hack to make it handle "new york, ny" (and variants) correctly - $sQuery = str_ireplace(array('New York, ny','new york, new york', 'New York ny','new york new york'), 'new york city, ny', $this->sQuery); + $sQuery = $this->sQuery; // Conflicts between US state abreviations and various words for 'the' in different languages if (isset($this->aLangPrefOrder['name:en'])) -- 2.45.2