Merged in paulis/processmaker/HOR-1483 (pull request #4600)

HOR-1483
This commit is contained in:
Julio Cesar Laura Avendaño
2016-07-20 15:19:46 -04:00
2 changed files with 0 additions and 6 deletions

View File

@@ -54,8 +54,6 @@ class ProcessDefinitionMigrator implements Importable, Exportable
//Workflow elements
$this->processes->updateProcessRow($data['workflow']['process']);
$this->processes->createTaskRows($data['workflow']['tasks']);
$this->processes->createRouteRows($data['workflow']['routes']);
$this->processes->replaceRouteRows($data['workflow']['routes']);
$this->processes->createLaneRows($data['workflow']['lanes']);
$this->processes->createGatewayRows($data['workflow']['gateways']);
$this->processes->createStepRows($data['workflow']['steps']);

View File

@@ -269,10 +269,6 @@ abstract class Importer
$granularObj->import($objectList);
}
}
if($option === self::IMPORT_OPTION_CREATE_NEW || $option === self::IMPORT_OPTION_KEEP_WITHOUT_CHANGING_AND_CREATE_NEW){
$oProcessDef = new \ProcessMaker\BusinessModel\Migrator\ProcessDefinitionMigrator();
$oProcessDef->afterImport($this->importData['tables']);
}
return $projectUid;
}