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 LogPrintExit2;
:global ParseKeyValueStore; :global ParseKeyValueStore;
:global ScriptInstallUpdate; :global ScriptInstallUpdate;
:global SendNotification; :global SendNotification2;
:global SymbolForNotification; :global SymbolForNotification;
:global ValidateSyntax; :global ValidateSyntax;
@ -845,8 +845,8 @@
:set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate"; :set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate";
} }
$SendNotification ([ $SymbolForNotification "pushpin" ] . "News and configuration changes") \ $SendNotification2 ({ subject=([ $SymbolForNotification "pushpin" ] . \
$NotificationMessage $Link; "News and configuration changes"); message=$NotificationMessage; link=$Link });
:set SentConfigChangesNotification $ExpectedConfigVersion; :set SentConfigChangesNotification $ExpectedConfigVersion;
} }