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

@@ -260,25 +260,10 @@ class AppNotes extends BaseAppNotes
}
}
/**
* Add a note in the case and send an email
*
* @param string $applicationUid
* @param string $userUid
* @param string $note
* @param bool $sendMail
* @param array $files
*
* @return array
*/
public function addCaseNote($applicationUid, $userUid, $note, $sendMail, $files)
public function addCaseNote($applicationUid, $userUid, $note, $sendMail)
{
$response = $this->postNewNote($applicationUid, $userUid, $note, false);
// Check the files to upload
$case = new Cases();
$res = $case->uploadFilesInCaseNotes($userUid, $applicationUid, $files, null);
if ($sendMail == 1) {
$case = new Cases();