freeside/FS/FS/part_export cp.pm,1.6,1.7

ivan ivan at pouncequick.420.am
Tue Mar 29 17:37:29 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory pouncequick:/tmp/cvs-serv23084

Modified Files:
	cp.pm 
Log Message:
according to landel CP no longer supports changing username

Index: cp.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/cp.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cp.pm	24 Mar 2004 14:28:48 -0000	1.6
+++ cp.pm	30 Mar 2005 01:37:26 -0000	1.7
@@ -43,8 +43,9 @@
   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 );
 }




More information about the freeside-commits mailing list