Revert "PMCORE-1542 (pull request #7355)"

This reverts pull request #7355.

> PMCORE-1542
This commit is contained in:
Paula Quispe
2020-06-08 20:21:26 +00:00
parent bf9ec3e2c4
commit c01ae1a4a7
15 changed files with 14 additions and 434 deletions

View File

@@ -3420,17 +3420,16 @@ class WsBase
/**
* Add case note
*
* @param string $caseUid, ID of the case.
* @param string $processUid, ID of the process.
* @param string $taskUid, ID of the task.
* @param string $userUid, The unique ID of the user who will add note case.
* @param string $note, Note of the case.
* @param int $sendMail, Optional parameter. If set to 1, will send an email to all participants in the case.
* @param array $files, Optional parameter. This is an array of files.
* @param string caseUid : ID of the case.
* @param string processUid : ID of the process.
* @param string taskUid : ID of the task.
* @param string userUid : The unique ID of the user who will add note case.
* @param string note : Note of the case.
* @param int sendMail : Optional parameter. If set to 1, will send an email to all participants in the case.
*
* @return object
* @return $result will return an object
*/
public function addCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail = 1, $files = [])
public function addCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail = 1)
{
try {
if (empty($caseUid)) {
@@ -3476,7 +3475,7 @@ class WsBase
//Add note case
$appNote = new AppNotes();
$response = $appNote->addCaseNote($caseUid, $userUid, $note, $sendMail, $files);
$response = $appNote->addCaseNote($caseUid, $userUid, $note, $sendMail);
//Response
$result = new WsResponse(0, G::LoadTranslation("ID_COMMAND_EXECUTED_SUCCESSFULLY"));