projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6f76f84
)
according to landel CP no longer supports changing username
author
ivan
<ivan>
Wed, 30 Mar 2005 01:37:26 +0000
(
01:37
+0000)
committer
ivan
<ivan>
Wed, 30 Mar 2005 01:37:26 +0000
(
01:37
+0000)
FS/FS/part_export/cp.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/cp.pm
b/FS/FS/part_export/cp.pm
index
a295c57
..
96fa437
100644
(file)
--- 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;
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 );
}
$self->cp_queue( $new->svcnum, 'replace', $new->domain,
$old->username, $new->username, $old->_password, $new->_password );
}