[freeside-commits] branch master updated. 13a5508296bd6760314bdccdb52926d67e955d9e

Mark Wells mark at 420.am
Fri May 31 17:40:54 PDT 2013


The branch, master has been updated
       via  13a5508296bd6760314bdccdb52926d67e955d9e (commit)
       via  055ca451ae55f5deec95ce113d3dd648c9cc9b49 (commit)
      from  e0c23bec998267cf2d72ee2a98fa2a88ee1de066 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 13a5508296bd6760314bdccdb52926d67e955d9e
Author: Mark Wells <mark at freeside.biz>
Date:   Fri May 31 17:40:32 2013 -0700

    convert mac addresses to uppercase on upgrade

diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
index 002aa55..b5012ca 100755
--- a/FS/FS/svc_broadband.pm
+++ b/FS/FS/svc_broadband.pm
@@ -440,6 +440,11 @@ sub _upgrade_data {
 
   local($FS::svc_Common::noexport_hack) = 1;
 
+  # fix wrong-case MAC addresses
+  my $dbh = dbh;
+  $dbh->do('UPDATE svc_broadband SET mac_addr = UPPER(mac_addr);')
+    or die $dbh->errstr;
+
   # set routernum to addr_block.routernum
   foreach my $self (qsearch('svc_broadband', {
       blocknum => {op => '!=', value => ''},

commit 055ca451ae55f5deec95ce113d3dd648c9cc9b49
Author: Mark Wells <mark at freeside.biz>
Date:   Fri May 31 17:40:06 2013 -0700

    remove obsolete files

diff --git a/FS/MANIFEST b/FS/MANIFEST
index eb4426a..9619122 100644
--- a/FS/MANIFEST
+++ b/FS/MANIFEST
@@ -11,7 +11,6 @@ bin/freeside-count-active-customers
 bin/freeside-daily
 bin/freeside-deloutsource
 bin/freeside-deloutsourceuser
-bin/freeside-deluser
 bin/freeside-email
 bin/freeside-phonenum_list
 bin/freeside-queued
@@ -32,7 +31,6 @@ FS/Auth/external.pm
 FS/Auth/internal.pm
 FS/Auth/legacy.pm
 FS/CGI.pm
-FS/InitHandler.pm
 FS/ClientAPI.pm
 FS/ClientAPI_SessionCache.pm
 FS/ClientAPI_XMLRPC.pm

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_broadband.pm |    5 +++++
 FS/MANIFEST            |    2 --
 2 files changed, 5 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list