]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/admin/setup.php
Add setup.php
[nominatim.git] / lib-php / admin / setup.php
index 0b0084957d6ecef3081409ce3a6e21da7cb6cfb9..7523527a0192ebe5d8a59d02e621a6cf645e596d 100644 (file)
@@ -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']) {