Commit 205afc3c authored by Oana-Eliza Alexa's avatar Oana-Eliza Alexa
Browse files

use utils

1 merge request!77Draft: Resolve "Redesign reminders class"
Pipeline #32366 failed with stages
in 16 seconds
Showing with 1 addition and 4 deletions
+1 -4
...@@ -454,10 +454,7 @@ class Reminder implements EndpointInterface ...@@ -454,10 +454,7 @@ class Reminder implements EndpointInterface
{ {
$result = []; $result = [];
// Re-use of the same mail processing template logic // Re-use of the same mail processing template logic
$fdTasksConf = $this->gateway->getLdapTasks( $fdTasksConf = MailUtils::getMailObjectConfiguration($this->gateway);
"(objectClass=fdTasksConf)",
["fdTasksConfLastExecTime", "fdTasksConfIntervalEmails", "fdTasksConfMaxEmails"]
);
$maxMailsConfig = $fdTasksConf[0]["fdtasksconfmaxemails"][0] ?? 50; $maxMailsConfig = $fdTasksConf[0]["fdtasksconfmaxemails"][0] ?? 50;
/* /*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment