]> git.proxmox.com Git - proxmox-acme.git/blobdiff - src/PVE/ACME.pm
plugins: remove get_subplugins
[proxmox-acme.git] / src / PVE / ACME.pm
index 4a05024ac4e0dba1d3bd7fc11ed968d229628557..c5b8d669f8b1496e1c451cb4d0ff264c519ec97e 100644 (file)
@@ -493,27 +493,6 @@ sub request_challenge_validation {
     return $return;
 }
 
-# return all availible subplugins from the plugins
-sub get_subplugins {
-
-    my $tmp = [];
-    my $plugins = PVE::ACME::Challenge->lookup_types();
-
-    foreach my $plugin_name (@$plugins) {
-       my $plugin = PVE::ACME::Challenge->lookup($plugin_name);
-       push @$tmp, $plugin->get_subplugins();
-    }
-
-    my $subplugins = [];
-    foreach my $array (@$tmp) {
-       foreach my $subplugin ( @$array) {
-           push @$subplugins, $subplugin;
-       }
-    }
-
-    return $subplugins;
-}
-
 # actually 'do' a $method request on $url
 # $data: input for JWS, optional
 # $use_jwk: use JWK instead of KID in JWD (see sub jws)