Skip to content

Commit b18ca62

Browse files
committed
global-functions: $ScriptInstallUpdate: drop dead code...
1 parent 5120aa0 commit b18ca62

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

global-functions

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,6 @@
667667
:global ScriptUpdatesBaseUrl;
668668
:global ScriptUpdatesFetch;
669669
:global ScriptUpdatesUrlSuffix;
670-
:global SentConfigChangesNotification;
671670

672671
:global CertificateAvailable;
673672
:global IfThenElse;
@@ -833,8 +832,7 @@
833832
}
834833
}
835834

836-
:if ($SentConfigChangesNotification != $ExpectedConfigVersion && \
837-
$NoNewsAndChangesNotification != true) do={
835+
:if ($NoNewsAndChangesNotification != true) do={
838836
:local NotificationMessage ("The configuration version on " . $Identity . " increased " . \
839837
"to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \
840838
"Please review and update global-config-overlay, then re-run global-config.");
@@ -865,7 +863,6 @@
865863
$SendNotification2 ({ origin=$0; \
866864
subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \
867865
message=$NotificationMessage; link=$Link });
868-
:set SentConfigChangesNotification $ExpectedConfigVersion;
869866
}
870867

871868
:set GlobalConfigChanges;

0 commit comments

Comments
 (0)