mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 10:04:28 +02:00
mod/notification-email: drop useless safeguard
Guess it was useful back in the day. Now the function exits early if the queue is empty... So this can never be zero.
This commit is contained in:
parent
519cb85e28
commit
bceabebf9c
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
|||
$LogPrint warning $0 ("Flushing E-Mail messages from scheduler, but queue is empty.");
|
||||
}
|
||||
|
||||
/system/scheduler/set interval=([ $EitherOr $QueueLen 1 ] . "m") comment="Sending..." $Scheduler;
|
||||
/system/scheduler/set interval=($QueueLen . "m") comment="Sending..." $Scheduler;
|
||||
|
||||
:foreach Id,Message in=$EmailQueue do={
|
||||
:if ([ :typeof $Message ] = "array" ) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue