projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved new-style export calls to svc_Common.
[freeside.git]
/
FS
/
FS
/
svc_domain.pm
diff --git
a/FS/FS/svc_domain.pm
b/FS/FS/svc_domain.pm
index
a9a2fd0
..
fd57713
100644
(file)
--- a/
FS/FS/svc_domain.pm
+++ b/
FS/FS/svc_domain.pm
@@
-282,6
+282,7
@@
sub delete {
return $error;
}
}
return $error;
}
}
+ $dbh->commit or die $dbh->errstr if $oldAutoCommit;
}
=item replace OLD_RECORD
}
=item replace OLD_RECORD
@@
-298,8
+299,8
@@
sub replace {
return "Can't change domain - reorder."
if $old->getfield('domain') ne $new->getfield('domain');
return "Can't change domain - reorder."
if $old->getfield('domain') ne $new->getfield('domain');
- $new->SUPER::replace($old);
-
+
my $error =
$new->SUPER::replace($old);
+ return $error if $error;
}
=item suspend
}
=item suspend
@@
-450,7
+451,7
@@
sub submit_internic {
=head1 VERSION
=head1 VERSION
-$Id: svc_domain.pm,v 1.
29 2002-05-22 18:44:01 ivan
Exp $
+$Id: svc_domain.pm,v 1.
30 2002-05-31 00:18:57 khoff
Exp $
=head1 BUGS
=head1 BUGS