global-functions: drop $Read

... which is no longer required now that RouterOS 7.12beta1
provides /terminal/ask.
This commit is contained in:
Christian Hesse 2023-08-18 15:35:50 +02:00
parent ebce360a4e
commit e36ac19c8b

View file

@ -53,7 +53,6 @@
:global ParseKeyValueStore; :global ParseKeyValueStore;
:global PrettyPrint; :global PrettyPrint;
:global RandomDelay; :global RandomDelay;
:global Read;
:global RequiredRouterOS; :global RequiredRouterOS;
:global ScriptFromTerminal; :global ScriptFromTerminal;
:global ScriptInstallUpdate; :global ScriptInstallUpdate;
@ -804,11 +803,6 @@
:delay ([ $GetRandomNumber $1 ] . [ $EitherOr $2 "s" ]); :delay ([ $GetRandomNumber $1 ] . [ $EitherOr $2 "s" ]);
} }
# read input from user
:set Read do={
:return;
}
# check for required RouterOS version # check for required RouterOS version
:set RequiredRouterOS do={ :set RequiredRouterOS do={
:local Caller [ :tostr $1 ]; :local Caller [ :tostr $1 ];