[interchange-cvs] interchange - heins modified
lib/Vend/Table/Common.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Jul 12 09:56:00 EDT 2003
User: heins
Date: 2003-07-12 12:56:56 GMT
Modified: lib/Vend/Table Common.pm
Log:
* Make error parameters fit docs.
Revision Changes Path
2.31 +5 -5 interchange/lib/Vend/Table/Common.pm
rev 2.31, prev_rev 2.30
Index: Common.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/Common.pm,v
retrieving revision 2.30
retrieving revision 2.31
diff -u -r2.30 -r2.31
--- Common.pm 12 Jul 2003 04:47:10 -0000 2.30
+++ Common.pm 12 Jul 2003 12:56:56 -0000 2.31
@@ -1,6 +1,6 @@
# Vend::Table::Common - Common access methods for Interchange databases
#
-# $Id: Common.pm,v 2.30 2003/07/12 04:47:10 mheins Exp $
+# $Id: Common.pm,v 2.31 2003/07/12 12:56:56 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -23,7 +23,7 @@
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
-$VERSION = substr(q$Revision: 2.30 $, 10);
+$VERSION = substr(q$Revision: 2.31 $, 10);
use strict;
package Vend::Table::Common;
@@ -1513,13 +1513,13 @@
my $msg = errmsg($tpl, @args);
my $ekey = 'table ' . $s->[$CONFIG]{name};
my $cfg = $s->[$CONFIG];
- unless(defined $cfg->{LOG_CATALOG} and ! $cfg->{LOG_CATALOG}) {
+ unless(defined $cfg->{LOG_ERROR_CATALOG} and ! $cfg->{LOG_CATALOG}) {
logError($msg);
}
- if($cfg->{LOG_GLOBAL}) {
+ if($cfg->{LOG_ERROR_GLOBAL}) {
logGlobal($msg);
}
- if($Vend::admin or ! defined($cfg->{LOG_SESSION}) or $cfg->{LOG_SESSION}) {
+ if($Vend::admin or ! defined($cfg->{LOG_ERROR_SESSION}) or $cfg->{LOG_ERROR_SESSION}) {
$Vend::Session->{errors} = {} unless ref($Vend::Session->{errors}) eq 'HASH';
$Vend::Session->{errors}{$ekey} = $msg;
}
More information about the interchange-cvs
mailing list