freeside/FS/FS cust_svc.pm,1.48,1.49 svc_acct.pm,1.167,1.168
ivan
ivan at pouncequick.420.am
Thu Dec 30 16:48:11 PST 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv27894/FS/FS
Modified Files:
cust_svc.pm svc_acct.pm
Log Message:
fix up some bugs in VoIP rating
Index: cust_svc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_svc.pm,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- cust_svc.pm 30 Dec 2004 01:41:28 -0000 1.48
+++ cust_svc.pm 31 Dec 2004 00:48:08 -0000 1.49
@@ -553,11 +553,11 @@
}
-=item get_session_history_sqlradacct TIMESTAMP_START TIMESTAMP_END
+=item get_session_history TIMESTAMP_START TIMESTAMP_END
-See L<FS::svc_acct/get_session_history_sqlradacct>. Equivalent to
-$cust_svc->svc_x->get_session_history_sqlradacct, but more efficient.
-Meaningless for records where B<svcdb> is not "svc_acct".
+See L<FS::svc_acct/get_session_history>. Equivalent to
+$cust_svc->svc_x->get_session_history, but more efficient. Meaningless for
+records where B<svcdb> is not "svc_acct".
=cut
@@ -580,7 +580,7 @@
push @sessions, $part_export->usage_sessions( $start, $end, $self->svc_x );
}
- \@sessions;
+ @sessions;
}
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- svc_acct.pm 29 Dec 2004 12:00:06 -0000 1.167
+++ svc_acct.pm 31 Dec 2004 00:48:08 -0000 1.168
@@ -1143,16 +1143,16 @@
$self->cust_svc->attribute_since_sqlradacct(@_);
}
-=item get_session_history_sqlradacct TIMESTAMP_START TIMESTAMP_END
+=item get_session_history TIMESTAMP_START TIMESTAMP_END
Returns an array of hash references of this customers login history for the
given time range. (document this better)
=cut
-sub get_session_history_sqlradacct {
+sub get_session_history {
my $self = shift;
- $self->cust_svc->get_session_history_sqlradacct(@_);
+ $self->cust_svc->get_session_history(@_);
}
=item radius_groups
More information about the freeside-commits
mailing list