mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-23 10:08:40 +02:00
global-functions: $ScriptInstallUpdate: drop dead code...
This commit is contained in:
parent
5120aa096f
commit
b18ca62dbd
1 changed files with 1 additions and 4 deletions
|
@ -667,7 +667,6 @@
|
||||||
:global ScriptUpdatesBaseUrl;
|
:global ScriptUpdatesBaseUrl;
|
||||||
:global ScriptUpdatesFetch;
|
:global ScriptUpdatesFetch;
|
||||||
:global ScriptUpdatesUrlSuffix;
|
:global ScriptUpdatesUrlSuffix;
|
||||||
:global SentConfigChangesNotification;
|
|
||||||
|
|
||||||
:global CertificateAvailable;
|
:global CertificateAvailable;
|
||||||
:global IfThenElse;
|
:global IfThenElse;
|
||||||
|
@ -833,8 +832,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ($SentConfigChangesNotification != $ExpectedConfigVersion && \
|
:if ($NoNewsAndChangesNotification != true) do={
|
||||||
$NoNewsAndChangesNotification != true) do={
|
|
||||||
:local NotificationMessage ("The configuration version on " . $Identity . " increased " . \
|
:local NotificationMessage ("The configuration version on " . $Identity . " increased " . \
|
||||||
"to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \
|
"to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \
|
||||||
"Please review and update global-config-overlay, then re-run global-config.");
|
"Please review and update global-config-overlay, then re-run global-config.");
|
||||||
|
@ -865,7 +863,6 @@
|
||||||
$SendNotification2 ({ origin=$0; \
|
$SendNotification2 ({ origin=$0; \
|
||||||
subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \
|
subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \
|
||||||
message=$NotificationMessage; link=$Link });
|
message=$NotificationMessage; link=$Link });
|
||||||
:set SentConfigChangesNotification $ExpectedConfigVersion;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:set GlobalConfigChanges;
|
:set GlobalConfigChanges;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue