mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $ScriptInstallUpdate: use $SendNotification2
This commit is contained in:
parent
c7a2eecd3c
commit
76f32e3927
1 changed files with 3 additions and 3 deletions
|
@ -678,7 +678,7 @@
|
|||
:global LogPrintExit2;
|
||||
:global ParseKeyValueStore;
|
||||
:global ScriptInstallUpdate;
|
||||
:global SendNotification;
|
||||
:global SendNotification2;
|
||||
:global SymbolForNotification;
|
||||
:global ValidateSyntax;
|
||||
|
||||
|
@ -845,8 +845,8 @@
|
|||
:set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate";
|
||||
}
|
||||
|
||||
$SendNotification ([ $SymbolForNotification "pushpin" ] . "News and configuration changes") \
|
||||
$NotificationMessage $Link;
|
||||
$SendNotification2 ({ subject=([ $SymbolForNotification "pushpin" ] . \
|
||||
"News and configuration changes"); message=$NotificationMessage; link=$Link });
|
||||
:set SentConfigChangesNotification $ExpectedConfigVersion;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue