global-functions: drop deprecated function $LogPrintExit

... which has been replaced by $LogPrintExit2 some time ago.
This commit is contained in:
Christian Hesse 2021-11-15 22:07:52 +01:00
parent 8fc88c73f8
commit 3b997d3087

View file

@ -32,7 +32,6 @@
:global GetRandomNumber;
:global HexToNum;
:global IfThenElse;
:global LogPrintExit;
:global LogPrintExit2;
:global MkDir;
:global NotificationFunctions;
@ -441,14 +440,6 @@
:return $3;
}
# deprecated compatibility wrapper
:set LogPrintExit do={
:global LogPrintExit2;
$LogPrintExit2 warning $0 ("This function is deprecated. Please use \$LogPrintExit2 instead.") false;
$LogPrintExit2 $1 "unknown" $2 $3;
}
# log and print with same text, optionally exit
:set LogPrintExit2 do={
:local Severity [ :tostr $1 ];