mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-26 05:44:39 +02:00
global-functions: drop deprecated function $LogPrintExit
... which has been replaced by $LogPrintExit2 some time ago.
This commit is contained in:
parent
8fc88c73f8
commit
3b997d3087
1 changed files with 0 additions and 9 deletions
|
@ -32,7 +32,6 @@
|
||||||
:global GetRandomNumber;
|
:global GetRandomNumber;
|
||||||
:global HexToNum;
|
:global HexToNum;
|
||||||
:global IfThenElse;
|
:global IfThenElse;
|
||||||
:global LogPrintExit;
|
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global MkDir;
|
:global MkDir;
|
||||||
:global NotificationFunctions;
|
:global NotificationFunctions;
|
||||||
|
@ -441,14 +440,6 @@
|
||||||
:return $3;
|
: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
|
# log and print with same text, optionally exit
|
||||||
:set LogPrintExit2 do={
|
:set LogPrintExit2 do={
|
||||||
:local Severity [ :tostr $1 ];
|
:local Severity [ :tostr $1 ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue