X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/09f4d767e4498368f798d8c1b579b1bf730f4baf..6e908fb81c5a1d66e80d71c7b4676cacb1d8e801:/lib-php/admin/setup.php?ds=inline diff --git a/lib-php/admin/setup.php b/lib-php/admin/setup.php index f81c0ca8..7523527a 100644 --- a/lib-php/admin/setup.php +++ b/lib-php/admin/setup.php @@ -161,7 +161,7 @@ if ($aCMDResult['load-data'] || $aCMDResult['all']) { if ($aCMDResult['import-tiger-data']) { $bDidSomething = true; $sTigerPath = getSetting('TIGER_DATA_PATH', CONST_InstallDir.'/tiger'); - $oSetup->importTigerData($sTigerPath); + run((clone($oNominatimCmd))->addParams('transition', '--tiger-data', $sTigerPath)); } if ($aCMDResult['calculate-postcodes'] || $aCMDResult['all']) { @@ -198,7 +198,7 @@ if ($aCMDResult['create-search-indices'] || $aCMDResult['all']) { if ($aCMDResult['create-country-names'] || $aCMDResult['all']) { $bDidSomething = true; - $oSetup->createCountryNames($aCMDResult); + run(clone($oNominatimCmd))->addParams('transition', '--create-country-names'); } if ($aCMDResult['setup-website'] || $aCMDResult['all']) {