From: Sarah Hoffmann Date: Thu, 1 May 2014 12:21:57 +0000 (+0200) Subject: remove some dead code X-Git-Tag: v2.3.0~39 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/11153633ffdf9631d411bd6ea1999cd90a5bd98b remove some dead code --- diff --git a/lib/Geocode.php b/lib/Geocode.php index 1604d43f..cc846f54 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1791,17 +1791,3 @@ } // end class - -/* - if (isset($_GET['route']) && $_GET['route'] && isset($_GET['routewidth']) && $_GET['routewidth']) - { - $aPoints = explode(',',$_GET['route']); - if (sizeof($aPoints) % 2 != 0) - { - userError("Uneven number of points"); - exit; - } - $sViewboxCentreSQL = "ST_SetSRID('LINESTRING("; - $fPrevCoord = false; - } -*/