mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
change variables for class SetupClass.php instantiation
This commit is contained in:
@@ -71,7 +71,7 @@ if ($aCMDResult['osmosis-init']) {
|
||||
|
||||
// ******************************************************
|
||||
// instantiate Setup class
|
||||
$cSetup = new SetupFunctions($aCMDResult);
|
||||
$cSetup = new SetupFunctions('setup', $aCMDResult);
|
||||
|
||||
// *******************************************************
|
||||
// go through complete process if 'all' is selected or start selected functions
|
||||
|
||||
@@ -106,7 +106,7 @@ if ($aResult['init-updates']) {
|
||||
|
||||
if (!$aResult['no-update-functions']) {
|
||||
// instantiate setupClass to use the function therein
|
||||
$cSetup = new SetupFunctions($aResult, 'update');
|
||||
$cSetup = new SetupFunctions('update');
|
||||
$cSetup->createFunctions();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user