[freeside-commits] branch FREESIDE_4_BRANCH updated. 0959b1a2648c998f81cce61bb5d06c50cef4556e
Ivan
ivan at 420.am
Thu Feb 25 06:35:23 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via 0959b1a2648c998f81cce61bb5d06c50cef4556e (commit)
from 7de0e4d649d2c9930720363c858f64b4f2f62efc (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 0959b1a2648c998f81cce61bb5d06c50cef4556e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Feb 25 06:35:18 2016 -0800
no more cust_main.payby
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm
index 867d43e..de13847 100644
--- a/FS/FS/cust_main_Mixin.pm
+++ b/FS/FS/cust_main_Mixin.pm
@@ -313,8 +313,6 @@ in HASHREF. Valid parameters are:
=item status
-=item payby
-
=back
=cut
@@ -339,15 +337,6 @@ sub cust_search_sql {
push @search, $class->$method();
}
- #payby
- my @payby = ref($param->{'payby'})
- ? @{ $param->{'payby'} }
- : split(',', $param->{'payby'});
- @payby = grep /^([A-Z]{4})$/, @payby;
- if ( @payby ) {
- push @search, 'cust_main.payby IN ('. join(',', map "'$_'", @payby). ')';
- }
-
#here is the agent virtualization
push @search,
$FS::CurrentUser::CurrentUser->agentnums_sql( 'table' => 'cust_main' );
@@ -557,9 +546,6 @@ sub process_email_search_result {
$param->{'search'} = thaw(decode_base64($param->{'search'}))
or die "process_email_search_result requires search params.\n";
-# $param->{'payby'} = [ split(/\0/, $param->{'payby'}) ]
-# unless ref($param->{'payby'});
-
my $table = $param->{'table'}
or die "process_email_search_result requires table.\n";
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main_Mixin.pm | 14 --------------
1 file changed, 14 deletions(-)
More information about the freeside-commits
mailing list