X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6c406124dd416ec62fc2ce0a4d07d597d3ae53f3..1cce464f866bb56b9427b29a2230321a695394a8:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index db17b8f5..23b7b3a6 100644 --- a/utils/setup.php +++ b/utils/setup.php @@ -77,16 +77,11 @@ if ($aCMDResult['create-db'] || $aCMDResult['all']) { $oSetup->createDB(); } -$oSetup->connect(); - if ($aCMDResult['setup-db'] || $aCMDResult['all']) { $bDidSomething = true; $oSetup->setupDB(); } -// Try accessing the C module, so we know early if something is wrong -checkModulePresence(); // raises exception on failure - if ($aCMDResult['import-data'] || $aCMDResult['all']) { $bDidSomething = true; $oSetup->importData($aCMDResult['osm-file']);