]> git.openstreetmap.org Git - nominatim.git/commitdiff
Add setup.php
authorDarkshredder <srivastavayash58@gmail.com>
Sun, 14 Mar 2021 09:32:30 +0000 (15:02 +0530)
committerDarkshredder <srivastavayash58@gmail.com>
Sun, 14 Mar 2021 09:32:30 +0000 (15:02 +0530)
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']) {