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'])
// ******************************************************
// instantiate Setup class
-$cSetup = new SetupFunctions($aCMDResult);
+$cSetup = new SetupFunctions('setup', $aCMDResult);
// *******************************************************
// go through complete process if 'all' is selected or start selected functions
if (!$aResult['no-update-functions']) {
// instantiate setupClass to use the function therein
- $cSetup = new SetupFunctions($aResult, 'update');
+ $cSetup = new SetupFunctions('update');
$cSetup->createFunctions();
}