From b18ca62dbda8e9a9aa876f17310c2087eacdb19a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 28 Sep 2022 08:39:25 +0200 Subject: global-functions: $ScriptInstallUpdate: drop dead code... --- global-functions | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/global-functions b/global-functions index c9abf88..2006a10 100644 --- a/global-functions +++ b/global-functions @@ -667,7 +667,6 @@ :global ScriptUpdatesBaseUrl; :global ScriptUpdatesFetch; :global ScriptUpdatesUrlSuffix; - :global SentConfigChangesNotification; :global CertificateAvailable; :global IfThenElse; @@ -833,8 +832,7 @@ } } - :if ($SentConfigChangesNotification != $ExpectedConfigVersion && \ - $NoNewsAndChangesNotification != true) do={ + :if ($NoNewsAndChangesNotification != true) do={ :local NotificationMessage ("The configuration version on " . $Identity . " increased " . \ "to " . $ExpectedConfigVersion . ", current configuration may need modification. " . \ "Please review and update global-config-overlay, then re-run global-config."); @@ -865,7 +863,6 @@ $SendNotification2 ({ origin=$0; \ subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \ message=$NotificationMessage; link=$Link }); - :set SentConfigChangesNotification $ExpectedConfigVersion; } :set GlobalConfigChanges; -- cgit v1.2.3-70-g09d2