replace new-style [] expression with old-style array()

Also removes some unused code.

fixes #444
This commit is contained in:
Sarah Hoffmann
2016-05-01 11:17:18 +02:00
parent 54ef9105d0
commit 4e0e0c1797
4 changed files with 15 additions and 40 deletions

View File

@@ -10,11 +10,6 @@
$oDB =& getDB();
// Display defaults
$fLat = CONST_Default_Lat;
$fLon = CONST_Default_Lon;
$iZoom = CONST_Default_Zoom;
$oGeocode = new Geocode($oDB);
$aLangPrefOrder = getPreferredLanguages();
@@ -120,8 +115,6 @@
if ($sOutputFormat=='html')
{
$sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1");
$sTileURL = CONST_Map_Tile_URL;
$sTileAttribution = CONST_Map_Tile_Attribution;
}
logEnd($oDB, $hLog, sizeof($aSearchResults));