HOR-3954
This commit is contained in:
@@ -4321,8 +4321,8 @@ class Cases
|
|||||||
unset($rowListCanceled['DEL_CURRENT_USR_FIRSTNAME']);
|
unset($rowListCanceled['DEL_CURRENT_USR_FIRSTNAME']);
|
||||||
unset($rowListCanceled['DEL_CURRENT_USR_LASTNAME']);
|
unset($rowListCanceled['DEL_CURRENT_USR_LASTNAME']);
|
||||||
unset($rowListCanceled['APP_CANCELED_DATE']);
|
unset($rowListCanceled['APP_CANCELED_DATE']);
|
||||||
$listInbox = new ListInbox();
|
|
||||||
$listInbox->create($rowListCanceled);
|
$this->putCaseInInboxList($rowListCanceled, $userUID);
|
||||||
|
|
||||||
//ListParticipatedLast
|
//ListParticipatedLast
|
||||||
$criteriaListParticipatedLast = new Criteria("workflow");
|
$criteriaListParticipatedLast = new Criteria("workflow");
|
||||||
@@ -7267,5 +7267,18 @@ class Cases
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inserts int the ListInbox of the user $targetUserId case whose data is in the variable $caseDataRow
|
||||||
|
* @param array $caseDataRow, assoc. array with the data of the case
|
||||||
|
* @param int $targetUserId, id of the user that will have the case.
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
private function putCaseInInboxList($caseDataRow, $targetUserId)
|
||||||
|
{
|
||||||
|
$listInbox = new ListInbox();
|
||||||
|
$caseDataRow["USR_UID"] = $targetUserId;
|
||||||
|
$listInbox->create($caseDataRow);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user