From 17470f0458a1cf5cf3ef7ebbcbbda836d37a7ee1 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 17 Oct 2011 20:56:14 +0000 Subject: remove echeck-no_routing, never should have been there in the first place --- FS/FS/Conf.pm | 7 ------- FS/FS/cust_main.pm | 3 --- 2 files changed, 10 deletions(-) (limited to 'FS') diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index d6da596c2..bee177052 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -3023,13 +3023,6 @@ and customer address. Include units.', 'type' => 'checkbox', }, - { - 'key' => 'echeck-no_routing', - 'section' => 'billing', - 'description' => 'Disable the routing number entirely for Electronic Check payment info.', - 'type' => 'checkbox', - }, - { 'key' => 'voip-cust_accountcode_cdr', 'section' => 'telephony', diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 041ecb1b4..f96a45aef 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1954,9 +1954,6 @@ sub check { if ( $conf->exists('cust_main-require-bank-branch') ) { $payinfo =~ /^(\d+)\@(\d+)\.(\d+)$/ or return 'invalid echeck account@branch.bank'; $payinfo = "$1\@$2.$3"; - } elsif ( $conf->exists('echeck-no_routing') ) { - $payinfo =~ /^(\d+)\@(\d*)$/ or return 'invalid echeck account'; - $payinfo = "$1\@$2"; } elsif ( $conf->exists('echeck-nonus') ) { $payinfo =~ /^(\d+)\@(\d+)$/ or return 'invalid echeck account@aba'; $payinfo = "$1\@$2"; -- cgit v1.2.1