Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
eb36997a
Commit
eb36997a
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
add method
parent
b00f3336
81-redesign-reminders-class
1 merge request
!77
Draft: Resolve "Redesign reminders class"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/MailUtils.php
+12
-0
library/MailUtils.php
with
12 additions
and
0 deletions
+12
-0
library/MailUtils.php
+
12
−
0
View file @
eb36997a
...
@@ -19,4 +19,16 @@ class MailUtils
...
@@ -19,4 +19,16 @@ class MailUtils
return
$mail_controller
->
sendMail
();
return
$mail_controller
->
sendMail
();
}
}
/**
* @return array
* Note : A simple retrieval methods of the mail backend configuration set in FusionDirectory
*/
public
static
function
getMailObjectConfiguration
(
TaskGateway
$gateway
):
array
{
return
$gateway
->
getLdapTasks
(
"(objectClass=fdTasksConf)"
,
[
"fdTasksConfLastExecTime"
,
"fdTasksConfIntervalEmails"
,
"fdTasksConfMaxEmails"
]
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets