5
0
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:
Philip Abernethy 2017-10-16 11:03:33 +02:00 committed by Wolfgang Bumiller
parent fce424fda9
commit e93833f524

View File

@ -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) = @_;