aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-18 10:30:32 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-04-07 22:51:24 +0200
commit36cf4d028bcf9597143249aed238dc5e131fda50 (patch)
treed7fa15f335f55e8e3c4668e44d7ceb131daf7ee1
parent009674b5bcf27589cd3469bc418dea72c9b4e979 (diff)
global-functions: drop $LogPrintExit2
-rw-r--r--global-functions.rsc22
1 files changed, 0 insertions, 22 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index ab8860f..c8fec8d 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -50,7 +50,6 @@
:global IsMacLocallyAdministered;
:global IsTimeSync;
:global LogPrint;
-:global LogPrintExit2;
:global LogPrintOnce;
:global MAX;
:global MIN;
@@ -744,27 +743,6 @@
}
}
-# log and print with same text, optionally exit
-# Deprectated! - TODO: remove later
-:set LogPrintExit2 do={
- :local Severity [ :tostr $1 ];
- :local Name [ :tostr $2 ];
- :local Message [ :tostr $3 ];
- :local Exit [ :tostr $4 ];
-
- :global LogPrint;
- :global LogPrintOnce;
-
- $LogPrintOnce warning $0 \
- ("This function is deprecated and will be removed. Please make your adjustments!");
-
- $LogPrint $1 $2 $3;
-
- :if ($Exit = "true") do={
- :error ("Hard error to exit.");
- }
-}
-
# log and print, once until reboot
:set LogPrintOnce do={
:local Severity [ :tostr $1 ];