[freeside-commits] freeside/FS/FS rate_region.pm,1.4,1.5
Ivan,,,
ivan at wavetail.420.am
Thu Sep 22 15:09:51 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2096/FS/FS
Modified Files:
rate_region.pm
Log Message:
random cleanups
Index: rate_region.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/rate_region.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- rate_region.pm 19 Aug 2008 10:06:44 -0000 1.4
+++ rate_region.pm 22 Sep 2011 22:09:49 -0000 1.5
@@ -248,6 +248,7 @@
sub rate_prefix {
my $self = shift;
+ map { $_ } #return $self->num_rate_prefix unless wantarray;
sort { $a->countrycode cmp $b->countrycode
or $a->npa cmp $b->npa
or $a->nxx cmp $b->nxx
@@ -264,7 +265,7 @@
sub dest_detail {
my $self = shift;
- qsearch( 'rate_detail', { 'dest_regionnum' => $self->regionnum, } );
+ qsearch( 'rate_detail', { 'dest_regionnum' => $self->regionnum } );
}
=item prefixes_short
More information about the freeside-commits
mailing list