Commit 3a853974 authored by Oana-Eliza Alexa's avatar Oana-Eliza Alexa
Browse files

fix return

1 merge request!75Draft: 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.
Showing with 1 addition and 5 deletions
+1 -5
......@@ -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();
}
/**
......
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