aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-02 23:54:35 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-08 21:07:24 +0200
commitb866eca3eca714e60bb1b23887717e88dd9d66e8 (patch)
treec653bfd6ad014def21f0af3c81bee16e1a8cd8d7 /global-functions
parentf9a2afdedafc9639bf658335218bd00274364827 (diff)
global-functions: $ScriptInstallUpdate: drop the re-run message
This makes sense just rarely... For important changes we have the migration mechanism. So just drop this.
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions5
1 files changed, 0 insertions, 5 deletions
diff --git a/global-functions b/global-functions
index ab95f3f..c5996ee 100644
--- a/global-functions
+++ b/global-functions
@@ -711,7 +711,6 @@
:local ExpectedConfigVersionBefore $ExpectedConfigVersion;
:local ReloadGlobalFunctions false;
:local ReloadGlobalConfig false;
- :local ScriptInstallUpdateBefore [ :tostr $ScriptInstallUpdate ];
:foreach Script in=[ / system script find where source~"^#!rsc( by RouterOS)\?\n" ] do={
:local ScriptVal [ / system script get $Script ];
@@ -879,10 +878,6 @@
:set GlobalConfigChanges;
:set GlobalConfigMigration;
}
-
- :if ($ScriptInstallUpdateBefore != [ :tostr $ScriptInstallUpdate ]) do={
- $LogPrintExit2 info $0 ("This function changed, you may want to re-run.") false;
- }
}
# lock script against multiple invocation