From e93833f5248afa93a9a3e7cda1668a5d6d124738 Mon Sep 17 00:00:00 2001
From: Philip Abernethy
Date: Mon, 16 Oct 2017 11:03:33 +0200
Subject: [PATCH 1/1] Remove deprecated run_cli subroutine
---
src/PVE/CLIHandler.pm | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/PVE/CLIHandler.pm b/src/PVE/CLIHandler.pm
index 73e8ee6..efc8a1a 100644
--- a/src/PVE/CLIHandler.pm
+++ b/src/PVE/CLIHandler.pm
@@ -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) = @_;
--
2.39.2