summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-03-30 01:37:26 +0000
committerivan <ivan>2005-03-30 01:37:26 +0000
commit2a5619a7ea675206db2ede6d9bf767c06e4605ea (patch)
tree51b46ce714851e74d69a6ff495ec315e1966d06f
parent6f76f84db8de0e02253dfd551ae254c48855d3f6 (diff)
according to landel CP no longer supports changing username
-rw-r--r--FS/FS/part_export/cp.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/part_export/cp.pm b/FS/FS/part_export/cp.pm
index a295c574b..96fa43710 100644
--- a/FS/FS/part_export/cp.pm
+++ b/FS/FS/part_export/cp.pm
@@ -43,8 +43,9 @@ sub _export_replace {
my( $self, $new, $old ) = (shift, shift, shift);
return "can't change domain with Critical Path"
if $old->domain ne $new->domain;
- return '' unless $old->username ne $new->username
- || $old->_password ne $new->_password;
+ return "can't change username with Critical Path" #CP no longer supports this
+ if $old->username ne $new->username;
+ return '' unless $old->_password ne $new->_password;
$self->cp_queue( $new->svcnum, 'replace', $new->domain,
$old->username, $new->username, $old->_password, $new->_password );
}