summaryrefslogtreecommitdiff
path: root/FS/FS/svc_domain.pm
diff options
context:
space:
mode:
authorkhoff <khoff>2004-03-27 01:05:33 +0000
committerkhoff <khoff>2004-03-27 01:05:33 +0000
commit6af03ca1ad3c06aa1e7affb634bb0640b139dd6d (patch)
tree36665aca733db2fb4856385028c074ec6a45a3c5 /FS/FS/svc_domain.pm
parent6004e9f3ed07a72f6a4c0f24e326b89acc859a45 (diff)
Cancel services in a particular order to get around certain inter-service dependancies
Diffstat (limited to 'FS/FS/svc_domain.pm')
-rw-r--r--FS/FS/svc_domain.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm
index c88b3e668..4dd6342c7 100644
--- a/FS/FS/svc_domain.pm
+++ b/FS/FS/svc_domain.pm
@@ -256,6 +256,8 @@ sub replace {
return "Can't change domain - reorder."
if $old->getfield('domain') ne $new->getfield('domain');
+ # Better to do it here than to force the caller to remember that svc_domain is weird.
+ $new->setfield(action => 'M');
my $error = $new->SUPER::replace($old);
return $error if $error;
}