From 4d763392708ffaaf2fbd43e9b9a22ef943295919 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 24 Apr 2019 14:49:14 -0700 Subject: [PATCH] fix northern-911 and other unsuspend operations when exports override export_replace, RT#83178 --- FS/FS/part_export.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 1a8f43de1..96fb85fc3 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -666,7 +666,7 @@ sub _export_suspend { #warn "warning: _export_suspened unimplemented for". ref($self); my $svc_x = shift; my $new = $svc_x->clone_suspended; - $self->_export_replace( $new, $svc_x ); + $self->export_replace( $new, $svc_x ); } sub _export_unsuspend { @@ -674,7 +674,7 @@ sub _export_unsuspend { #warn "warning: _export_unsuspend unimplemented for ". ref($self); my $svc_x = shift; my $old = $svc_x->clone_kludge_unsuspend; - $self->_export_replace( $svc_x, $old ); + $self->export_replace( $svc_x, $old ); } =item get_remoteid SVC -- 2.11.0