An error occurred while fetching the assigned milestone of the selected merge_request.
- Oana-Eliza Alexa authored
+ 45
− 37
@@ -64,14 +64,12 @@ class Mail implements EndpointInterface
@@ -64,14 +64,12 @@ class Mail implements EndpointInterface
// Note : if list_tasks is empty, the controller receive null as result and will log/process it properly.
if ($mail["fdtasksgranularstatus"][0] == 1 && $this->gateway->verifySchedule($mail["fdtasksgranularschedule"][0])) {
@@ -80,9 +78,9 @@ class Mail implements EndpointInterface
@@ -80,9 +78,9 @@ class Mail implements EndpointInterface
@@ -94,40 +92,14 @@ class Mail implements EndpointInterface
@@ -94,40 +92,14 @@ class Mail implements EndpointInterface
$result[$mail["dn"]]['statusUpdate'] = $this->gateway->updateTaskStatus($mail["dn"], $mail["cn"][0], "2");
$result[$mail["dn"]]['updateLastMailExec'] = $this->gateway->updateLastMailExecTime($fdTasksConf[0]["dn"]);
$result[$mail["dn"]]['statusUpdate'] = $this->gateway->updateTaskStatus($mail["dn"], $mail["cn"][0], $mailSentResult[0]);
@@ -135,6 +107,43 @@ class Mail implements EndpointInterface
@@ -135,6 +107,43 @@ class Mail implements EndpointInterface
@@ -184,5 +193,4 @@ class Mail implements EndpointInterface
@@ -184,5 +193,4 @@ class Mail implements EndpointInterface
return $this->gateway->getLdapTasks("(|(objectClass=fdMailTemplate)(objectClass=fdMailAttachments))", [], $templateName);