[freeside-commits] freeside/FS/FS Schema.pm,1.2,1.3

Ivan,,, ivan at wavetail.420.am
Wed Sep 7 05:56:43 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv24418

Modified Files:
	Schema.pm 
Log Message:
define username_len so the default add account screen doesn't have a tiny username field (when usernamemax is not defined)

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Schema.pm	27 Aug 2005 08:46:57 -0000	1.2
+++ Schema.pm	7 Sep 2005 12:56:41 -0000	1.3
@@ -226,13 +226,15 @@
 
 sub tables_hashref {
 
-  my($char_d) = 80; #default maxlength for text fields
+  my $char_d = 80; #default maxlength for text fields
 
   #my(@date_type)  = ( 'timestamp', '', ''     );
-  my(@date_type)  = ( 'int', 'NULL', ''     );
-  my(@perl_type) = ( 'text', 'NULL', ''  ); 
+  my @date_type  = ( 'int', 'NULL', ''     );
+  my @perl_type = ( 'text', 'NULL', ''  ); 
   my @money_type = ( 'decimal',   '', '10,2' );
 
+  my $username_len = 32; #usernamemax config file
+
   return {
 
     'agent' => {



More information about the freeside-commits mailing list