[freeside-commits] freeside/FS/FS svc_broadband.pm, 1.24.2.2, 1.24.2.3 Schema.pm, 1.317.2.18, 1.317.2.19

Mark Wells mark at wavetail.420.am
Tue Nov 29 15:53:35 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv21328/FS/FS

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	svc_broadband.pm Schema.pm 
Log Message:
make svc_broadband speed fields optional

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.317.2.18
retrieving revision 1.317.2.19
diff -u -w -d -r1.317.2.18 -r1.317.2.19
--- Schema.pm	23 Nov 2011 18:40:06 -0000	1.317.2.18
+++ Schema.pm	29 Nov 2011 23:53:33 -0000	1.317.2.19
@@ -2503,8 +2503,8 @@
         'svcnum', 'int', '', '', '', '', 
         'description', 'varchar', 'NULL', $char_d, '', '', 
         'blocknum', 'int', 'NULL', '', '', '', 
-        'speed_up', 'int', '', '', '', '', 
-        'speed_down', 'int', '', '', '', '', 
+        'speed_up', 'int', 'NULL', '', '', '', 
+        'speed_down', 'int', 'NULL', '', '', '', 
         'ip_addr', 'varchar', 'NULL', 15, '', '', 
         'mac_addr', 'varchar', 'NULL', 12, '', '', 
         'authkey',  'varchar', 'NULL', 32, '', '', 

Index: svc_broadband.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_broadband.pm,v
retrieving revision 1.24.2.2
retrieving revision 1.24.2.3
diff -u -w -d -r1.24.2.2 -r1.24.2.3
--- svc_broadband.pm	10 Nov 2011 21:40:21 -0000	1.24.2.2
+++ svc_broadband.pm	29 Nov 2011 23:53:32 -0000	1.24.2.3
@@ -351,8 +351,8 @@
     $self->ut_numbern('svcnum')
     || $self->ut_numbern('blocknum')
     || $self->ut_textn('description')
-    || $self->ut_number('speed_up')
-    || $self->ut_number('speed_down')
+    || $self->ut_numbern('speed_up')
+    || $self->ut_numbern('speed_down')
     || $self->ut_ipn('ip_addr')
     || $self->ut_hexn('mac_addr')
     || $self->ut_hexn('auth_key')



More information about the freeside-commits mailing list