Upstream remap_fields() is fine, since we use get_fields afterwards
authorfbriere <fbriere>
Fri, 17 Feb 2006 19:14:25 +0000 (19:14 +0000)
committerfbriere <fbriere>
Fri, 17 Feb 2006 19:14:25 +0000 (19:14 +0000)
InternetSecure.pm

index 1dc16f4..cf0eec1 100755 (executable)
@@ -57,18 +57,6 @@ sub get_fields {
        return %new;
 }
 
-# OnlinePayment's remap_fields is buggy, so we simply rewrite it
-#
-sub remap_fields {
-       my ($self, %map) = @_;
-
-       my %content = $self->content();
-       foreach (keys %map) {
-               $content{$map{$_}} = delete $content{$_};
-       }
-       $self->content(%content);
-}
-
 # Combine get_fields and remap_fields for convenience
 #
 sub get_remap_fields {