summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-08-05 18:52:39 +0000
committerivan <ivan>2003-08-05 18:52:39 +0000
commitaab3b1fcf812e2ba28834faf558203c88e66fa48 (patch)
tree2a7363bca0b154fc6b9e2a015540e3a54c65471d /FS
parent49ba3cd359748f5fa3e1b0087840a23c5838d1ab (diff)
remove spurious re-use of $error
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_domain.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm
index ff0fa2f61..10d5d8f5c 100644
--- a/FS/FS/svc_domain.pm
+++ b/FS/FS/svc_domain.pm
@@ -342,9 +342,8 @@ sub check {
return "Unknown catchall" unless $svc_acct;
}
- my $error = $self->ut_textn('purpose')
- or $self->SUPER::check;
- return $error if $error;
+ $self->ut_textn('purpose')
+ or $self->SUPER::check;
}