X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpayinfo_transaction_Mixin.pm;h=1b5a0cdff0951c3fb43d58125c7ecc83edf46388;hp=6e4b511d24be586efd40380613b50ad627109612;hb=a36e0f8a0f69349dafaa16d1d2d57dfb6e5dbc85;hpb=8568f687b70154d27c32fe16b0d018420807ded1 diff --git a/FS/FS/payinfo_transaction_Mixin.pm b/FS/FS/payinfo_transaction_Mixin.pm index 6e4b511d2..1b5a0cdff 100644 --- a/FS/FS/payinfo_transaction_Mixin.pm +++ b/FS/FS/payinfo_transaction_Mixin.pm @@ -102,12 +102,6 @@ auth, and order_number) as well as payby and payinfo sub payinfo_check { my $self = shift; - my $conf = new FS::Conf; - - # allow masked payinfo if we never save card numbers - local $FS::payinfo_Mixin::ignore_masked_payinfo = - $conf->exists('no_saved_cardnumbers') ? 1 : $FS::payinfo_Mixin::ignore_masked_payinfo; - $self->SUPER::payinfo_check() || $self->ut_numbern('gatewaynum') # not ut_foreign_keyn, it causes upgrades to fail