global-functions: $ScriptInstallUpdate: use $SendNotification2

This commit is contained in:
Christian Hesse 2021-04-27 20:37:33 +02:00
parent c7a2eecd3c
commit 76f32e3927

View file

@ -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;
}