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
13ff0226
Commit
13ff0226
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
fix indent
parent
761c1b2b
79-redesign-mail
1 merge request
!75
Draft: Resolve "Redesign Mail"
Pipeline
#32359
failed with stages
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Mail.php
+2
-3
plugins/tasks/Mail.php
with
2 additions
and
3 deletions
+2
-3
plugins/tasks/Mail.php
+
2
−
3
View file @
13ff0226
...
...
@@ -110,8 +110,7 @@ class Mail implements EndpointInterface
private
function
sendMail
(
$setFrom
,
$setBCC
,
$recipients
,
$body
,
$signature
,
$subject
,
$receipt
,
$attachments
)
{
// Required before passing the array to the constructor mail.
if
(
empty
(
$attachments
))
{
if
(
empty
(
$attachments
))
{
$attachments
=
NULL
;
}
...
...
@@ -127,7 +126,7 @@ class Mail implements EndpointInterface
return
$mail_controller
->
sendMail
();
}
private
function
updateResult
(
array
$mailSentResult
,
$task
,
$fdTasksConf
):
array
private
function
updateResult
(
array
$mailSentResult
,
$task
,
$fdTasksConf
):
array
{
$result
=
[];
if
(
$mailSentResult
[
0
]
==
"SUCCESS"
)
{
...
...
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