[interchange-cvs] interchange - heins modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Oct 19 10:21:07 EDT 2005


User:      heins
Date:      2005-10-19 14:21:07 GMT
Modified:  lib/Vend Config.pm
Log:
* Remove MailOrderTo as a requirement. It is not a parameter needed
  for non-commerce applications, and when it shows up as the parameter
  not defined when catalog.cfg is not found, it is downright confusing.
  VendURL is a better parameter to show as unconfigured.

* Add URL alias for VendURL.

Revision  Changes    Path
2.186     +4 -3      interchange/lib/Vend/Config.pm


rev 2.186, prev_rev 2.185
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.185
retrieving revision 2.186
diff -u -r2.185 -r2.186
--- Config.pm	15 Oct 2005 00:09:29 -0000	2.185
+++ Config.pm	19 Oct 2005 14:21:06 -0000	2.186
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.185 2005/10/15 00:09:29 danb Exp $
+# $Id: Config.pm,v 2.186 2005/10/19 14:21:06 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -52,7 +52,7 @@
 use Vend::Data;
 use Vend::Cron;
 
-$VERSION = substr(q$Revision: 2.185 $, 10);
+$VERSION = substr(q$Revision: 2.186 $, 10);
 
 my %CDname;
 my %CPname;
@@ -80,6 +80,7 @@
 );
 
 my %DirectiveAlias = qw(
+	URL	           VendURL
 	DataDir        ProductDir
 	DefaultTables  ProductFiles 
 	Profiles       OrderProfile 
@@ -578,7 +579,7 @@
 	['ReadPermission',   'permission',       'user'],
 	['SessionExpire',    'time',             '1 hour'],
 	['SaveExpire',       'time',             '30 days'],
-	['MailOrderTo',      undef,              undef],
+	['MailOrderTo',      undef,              ''],
 	['SendMailProgram',  'executable',		$Global::SendMailProgram],
 	['PGP',              undef,       		 ''],
 # GLIMPSE








More information about the interchange-cvs mailing list