mirror of
git://git.proxmox.com/git/pve-common.git
synced 2024-12-26 07:21:26 +03:00
Remove deprecated run_cli subroutine
This commit is contained in:
parent
fce424fda9
commit
e93833f524
@ -448,17 +448,6 @@ my $handle_simple_cmd = sub {
|
||||
&$outsub($res) if $outsub;
|
||||
};
|
||||
|
||||
sub run_cli {
|
||||
my ($class, $pwcallback, $podfn, $preparefunc) = @_;
|
||||
|
||||
# Note: "depreciated function run_cli - use run_cli_handler instead";
|
||||
# silently ignore $podfn , which is no longer supported.
|
||||
|
||||
die "password callback is no longer supported" if $pwcallback;
|
||||
|
||||
run_cli_handler($class, prepare => $preparefunc);
|
||||
}
|
||||
|
||||
sub run_cli_handler {
|
||||
my ($class, %params) = @_;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user