svc_hardware: better error messages for bad hw_addr when not validating as a MAC...
[freeside.git] / FS / FS / payinfo_transaction_Mixin.pm
index 6e4b511..1b5a0cd 100644 (file)
@@ -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