projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fce424f
)
Remove deprecated run_cli subroutine
author
Philip Abernethy
<p.abernethy@proxmox.com>
Mon, 16 Oct 2017 09:03:33 +0000
(11:03 +0200)
committer
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Fri, 24 Nov 2017 08:15:14 +0000
(09:15 +0100)
src/PVE/CLIHandler.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/CLIHandler.pm
b/src/PVE/CLIHandler.pm
index 73e8ee632fc9cd204d5db0a2532e1acfa3226d28..efc8a1a2bb4ffe67e0a94ac75504378ce0ba2611 100644
(file)
--- a/
src/PVE/CLIHandler.pm
+++ b/
src/PVE/CLIHandler.pm
@@
-448,17
+448,6
@@
my $handle_simple_cmd = sub {
&$outsub($res) if $outsub;
};
&$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) = @_;
sub run_cli_handler {
my ($class, %params) = @_;