From b6de60dd78baa2ed407a245cff0c99be1764621d Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Mena Date: Fri, 27 Oct 2017 15:18:04 -0400 Subject: [PATCH] HOR-2572 Unnecessary folder creation on files - Deleted code for creation of folder 'tmp' --- workflow/engine/methods/cases/caseHistory_Ajax.php | 2 -- workflow/engine/methods/cases/caseMessageHistory_Ajax.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/workflow/engine/methods/cases/caseHistory_Ajax.php b/workflow/engine/methods/cases/caseHistory_Ajax.php index 30312621b..6b1f948f8 100644 --- a/workflow/engine/methods/cases/caseHistory_Ajax.php +++ b/workflow/engine/methods/cases/caseHistory_Ajax.php @@ -48,8 +48,6 @@ if ($actionAjax == 'historyGridList_JXP') { $aProcesses[] = $result; } - $newDir = '/tmp/test/directory'; - G::verifyPath($newDir); $r = new stdclass(); $r->data = \ProcessMaker\Util\DateTime::convertUtcToTimeZone($aProcesses); $r->totalCount = $totalCount; diff --git a/workflow/engine/methods/cases/caseMessageHistory_Ajax.php b/workflow/engine/methods/cases/caseMessageHistory_Ajax.php index 8a9c4f268..25017017d 100644 --- a/workflow/engine/methods/cases/caseMessageHistory_Ajax.php +++ b/workflow/engine/methods/cases/caseMessageHistory_Ajax.php @@ -108,8 +108,6 @@ if ($actionAjax == 'messageHistoryGridList_JXP') { $aProcesses = array_splice($aProcesses, $_REQUEST['start'], $_REQUEST['limit']); - $newDir = '/tmp/test/directory'; - G::verifyPath( $newDir ); $r = new stdclass(); $r->data = $aProcesses; $r->totalCount = $totalCount;