X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c1dc835b5cceed8139d81feceadf7bcfaba48e2d..665b90bf5a0189d992e8a17639dec4926848f160:/utils/update.php diff --git a/utils/update.php b/utils/update.php index 189a1825..cba58d31 100644 --- a/utils/update.php +++ b/utils/update.php @@ -103,7 +103,9 @@ $oIndexCmd = (new \Nominatim\Shell(CONST_BasePath.'/nominatim/nominatim.py')) ->addParams('--database', $aDSNInfo['database']) ->addParams('--port', $aDSNInfo['port']) ->addParams('--threads', $aResult['index-instances']); - +if (!$aResult['quiet']) { + $oIndexCmd->addParams('--verbose'); +} if ($aResult['verbose']) { $oIndexCmd->addParams('--verbose'); } @@ -151,7 +153,6 @@ if ($aResult['init-updates']) { 'enable-diff-updates' => true, 'verbose' => $aResult['verbose'] )); - $cSetup->connect(); $cSetup->createFunctions(); }