Merged in zeitmaster/processmaker/MT-10 (pull request #3959)

Remove the addNewFilesManager duplicated method.
This commit is contained in:
Gustavo Cruz
2016-03-28 15:31:24 -04:00

View File

@@ -4089,29 +4089,6 @@ class Processes
}
}
/**
* Create if the new Files Managers does not exist
*
* @param string $processUid Unique id of Process
* @param array $arrayData Data
*
* return void
*/
public function addNewFilesManager($processUid, array $arrayData)
{
try {
$filesManager = new \ProcessMaker\BusinessModel\FilesManager();
foreach ($arrayData as $value) {
if(!$filesManager->existsProcessFile($value['PRF_UID'])){
$filesManager->addProcessFilesManagerInDb($value);
}
}
} catch (Exception $e) {
throw $e;
}
}
/**
* @param array $arrayData
* @throws Exception