From 9f922f680f4e44eca670265d4974feb86b126be3 Mon Sep 17 00:00:00 2001 From: Gustavo Adolfo Cruz Laura Date: Mon, 28 Mar 2016 15:29:40 -0400 Subject: [PATCH] Remove the addNewFilesManager duplicated method. --- workflow/engine/classes/class.processes.php | 23 --------------------- 1 file changed, 23 deletions(-) diff --git a/workflow/engine/classes/class.processes.php b/workflow/engine/classes/class.processes.php index 4417847a5..1841217c0 100755 --- a/workflow/engine/classes/class.processes.php +++ b/workflow/engine/classes/class.processes.php @@ -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