]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE::ReplicationTools::get_snapshot - remove dead code
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 04:55:12 +0000 (06:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 04:55:12 +0000 (06:55 +0200)
This function makes no sense and is not used.

PVE/ReplicationTools.pm

index 7089aa218e8e1be6b8b6799de19a173f5a95aa63..a979a0b13fedd8274392a0999d91ef6e4f38ebfd 100644 (file)
@@ -251,13 +251,6 @@ sub sync_guest {
     return $snap_time;
 }
 
-sub get_snapshots {
-    my ($vol, $prefix, $nodes) = @_;
-
-    my $plugin = $vol->{plugin};
-    return $plugin->get_snapshots($vol, $prefix, $nodes);
-}
-
 sub send_image {
     my ($vol, $param, $ip, $all_snaps_in_delta, $alter_path) = @_;