diff options
author | Christian Hesse <mail@eworm.de> | 2022-09-28 08:39:25 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-09-28 09:17:12 +0200 |
commit | b18ca62dbda8e9a9aa876f17310c2087eacdb19a (patch) | |
tree | 1fb7ef0047d08fe22c3a319b3b10f2e9ea4115a4 | |
parent | 5120aa096f3b5479797b1361b08044959675cdb5 (diff) |
global-functions: $ScriptInstallUpdate: drop dead code...
-rw-r--r-- | global-functions | 5 |
1 files changed, 1 insertions, 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; |