[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.53, 1.54
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Apr 19 16:30:42 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail:/tmp/cvs-serv11850/FS/FS/ClientAPI
Modified Files:
MyAccount.pm
Log Message:
break _bytecount subroutines out of FS::UI::Web
Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- MyAccount.pm 13 Feb 2007 22:24:21 -0000 1.53
+++ MyAccount.pm 19 Apr 2007 23:30:40 -0000 1.54
@@ -9,6 +9,7 @@
use Time::Duration;
use FS::CGI qw(small_custview); #doh
use FS::UI::Web;
+use FS::UI::bytecount;
use FS::Conf;
use FS::Record qw(qsearch qsearchs);
use FS::Msgcat qw(gettext);
@@ -402,11 +403,11 @@
'seconds' => $seconds,
'duration' => duration_exact($seconds),
'upbytes' => $upbytes,
- 'upload' => FS::UI::Web::bytecount_unexact($upbytes),
+ 'upload' => FS::UI::bytecount::bytecount_unexact($upbytes),
'downbytes' => $downbytes,
- 'download' => FS::UI::Web::bytecount_unexact($downbytes),
+ 'download' => FS::UI::bytecount::bytecount_unexact($downbytes),
'totalbytes'=> $totalbytes,
- 'totalload' => FS::UI::Web::bytecount_unexact($totalbytes),
+ 'totalload' => FS::UI::bytecount::bytecount_unexact($totalbytes),
};
}
More information about the freeside-commits
mailing list