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
3a853974
Commit
3a853974
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
fix return
parent
fc915a52
79-redesign-mail
1 merge request
!75
Draft: Resolve "Redesign Mail"
Pipeline
#32355
passed with stages
in 17 seconds
This commit is part of merge request
!75
. Comments created here will be created in the context of that merge request.
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Mail.php
+1
-5
plugins/tasks/Mail.php
with
1 addition
and
5 deletions
+1
-5
plugins/tasks/Mail.php
+
1
−
5
Edit
View file @
3a853974
...
...
@@ -172,11 +172,7 @@ class Mail implements EndpointInterface
// Multiplication is required to have the seconds
$spamInterval
=
$spamInterval
*
60
;
$antispam
=
$lastExec
+
$spamInterval
;
if
(
$antispam
<=
time
())
{
return
TRUE
;
}
return
FALSE
;
return
$antispam
<=
time
();
}
/**
...
...
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