Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- I *think* that I have all the repositiories where this would potentially be used, but please double check that there are no users of this anywhere.
PVE/ReplicationConfig.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/PVE/ReplicationConfig.pm b/PVE/ReplicationConfig.pm index 77905a0..a220594 100644 --- a/PVE/ReplicationConfig.pm +++ b/PVE/ReplicationConfig.pm @@ -265,20 +265,6 @@ sub delete_job { lock($code); } -sub remove_vmid_jobs { - my ($vmid) = @_; - - my $code = sub { - my $cfg = __PACKAGE__->new(); - foreach my $id (keys %{$cfg->{ids}}) { - delete $cfg->{ids}->{$id} if ($cfg->{ids}->{$id}->{guest} == $vmid); - } - $cfg->write(); - }; - - lock($code); -} - sub swap_source_target_nolock { my ($jobid) = @_; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel