]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/setup/SetupClass.php
change variables for class SetupClass.php instantiation
[nominatim.git] / lib / setup / SetupClass.php
index f31c235304223ed11bf9cffa1e7300861140d213..3b4f683d544b89184b9587d0085d396493603664 100755 (executable)
@@ -16,7 +16,7 @@ class SetupFunctions
     protected $oDB = null;              // set in setupDB (earliest) or later in loadData, importData, drop, createSqlFunctions, importTigerData
                                                 // pgsqlRunPartitionScript, calculatePostcodes, ..if no already set
 
-    public function __construct($aCMDResult, $callingFunction = 'setup')
+    public function __construct($callingFunction, array $aCMDResult = array())
     {
         // by default, use all but one processor, but never more than 15.
         $this->iInstances = isset($aCMDResult['threads'])