Revert "PMCORE-1542 (pull request #7355)"
This reverts pull request #7355. > PMCORE-1542
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user