[interchange-cvs] [SCM] Interchange branch, master, updated. REL_5_7_2-8-g4e1e312

Peter Ajamian interchange-cvs at icdevgroup.org
Wed Sep 30 10:03:13 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange".

The branch, master has been updated
       via  4e1e312eefe36a129d974791647a30ecbe13d9a9 (commit)
      from  25b70ec4ebe8a690edb3d0ebef2453f83cf73e25 (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 4e1e312eefe36a129d974791647a30ecbe13d9a9
Author: Peter Ajamian <peter at pajamian.dhs.org>
Date:   Wed Sep 30 03:01:25 2009 -0700

    Revert "Allow variable to override default LUHN-10 error message"
    
    This reverts commit 8cd47ac938422208c2ec20ff076902e5c53f7834.

-----------------------------------------------------------------------

Summary of changes and diff:
 WHATSNEW-5.7                        |   12 ------------
 dist/standard/products/variable.txt |    1 -
 lib/Vend/Order.pm                   |    2 +-
 3 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/WHATSNEW-5.7 b/WHATSNEW-5.7
index 6d4eed3..37286fd 100644
--- a/WHATSNEW-5.7
+++ b/WHATSNEW-5.7
@@ -8,18 +8,6 @@
 See UPGRADE document for a list of incompatible changes.
 
 
-Interchange 5.7.3 released ####-##-##.
-
-
-Core
-----
-
-* Allow variable to override default LUHN-10 error message.
-
-
-------------------------------------------------------------------------------
-
-
 Interchange 5.7.2 released 2009-09-17.
 
 
diff --git a/dist/standard/products/variable.txt b/dist/standard/products/variable.txt
index 43eb0f4..7191aeb 100644
--- a/dist/standard/products/variable.txt
+++ b/dist/standard/products/variable.txt
@@ -37,7 +37,6 @@ LINKHOST	__MVC_LINKHOST__	Admin Control
 LINKPORT	__MVC_LINKPORT__	Admin Control
 LOCALES	__MVC_LOCALES__	Internationalization
 LOGO	logo.png	Template
-LUHN_10_ERRMSG  Credit card number fails LUHN-10 check. Order  
 MAILING_FROM	__MVC_COMPANY__ <__MVC_MAILORDERTO__>	Mailings
 MAILING_MAX_DIRECT	50	Mailings
 MAILING_TO	{FNAME} {LNAME} <{EMAIL}>	Mailings
diff --git a/lib/Vend/Order.pm b/lib/Vend/Order.pm
index 9e3daf7..7a99f78 100644
--- a/lib/Vend/Order.pm
+++ b/lib/Vend/Order.pm
@@ -620,7 +620,7 @@ sub encrypt_standard_cc {
 	}
 
 	unless ($valid = luhn($num) || $force ) {
-		my $msg = errmsg($::Variable->{LUHN_10_ERRMSG} || "Credit card number fails LUHN-10 check.");
+		my $msg = errmsg("Credit card number fails LUHN-10 check.");
 		$Vend::Session->{errors}{mv_credit_card_valid} = $msg;
 		push @return, $msg;
 		return @return;


hooks/post-receive
-- 
Interchange



More information about the interchange-cvs mailing list