[interchange-cvs] interchange - kwalsh modified 2 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Thu Feb 14 09:15:27 EST 2008
User: kwalsh
Date: 2008-02-14 14:15:27 GMT
Modified: lib/Vend UserDB.pm
Modified: . WHATSNEW-5.5
Log:
* Well, what can I say? My earlier diagnosis of a problem turned out
to be incorrect, and the postlogin_actions is called after all.
My "fix" caused the subroutine to be called twice. Fixed the fix now.
Revision Changes Path
2.58 +2 -11 interchange/lib/Vend/UserDB.pm
rev 2.58, prev_rev 2.57
Index: UserDB.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/UserDB.pm,v
retrieving revision 2.57
retrieving revision 2.58
diff -u -r2.57 -r2.58
--- UserDB.pm 13 Feb 2008 16:27:36 -0000 2.57
+++ UserDB.pm 14 Feb 2008 14:15:27 -0000 2.58
@@ -1,6 +1,6 @@
# Vend::UserDB - Interchange user database functions
#
-# $Id: UserDB.pm,v 2.57 2008/02/13 16:27:36 kwalsh Exp $
+# $Id: UserDB.pm,v 2.58 2008/02/14 14:15:27 kwalsh Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -17,7 +17,7 @@
package Vend::UserDB;
-$VERSION = substr(q$Revision: 2.57 $, 10);
+$VERSION = substr(q$Revision: 2.58 $, 10);
use vars qw!
$VERSION
@@ -1964,15 +1964,6 @@
if($status and ! $options{no_login}) {
$Vend::Session->{logged_in} = 1;
$Vend::Session->{username} = $user->{USERNAME};
-
- if (my $macros = $user->{OPTIONS}{postlogin_action}) {
- eval {
- Vend::Dispatch::run_macro($macros);
- };
- if ($@) {
- logError("UserDB postlogin_action execution error: %s\n", $@);
- }
- }
}
}
elsif($function eq 'logout') {
1.90 +0 -3 interchange/WHATSNEW-5.5
rev 1.90, prev_rev 1.89
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- WHATSNEW-5.5 13 Feb 2008 17:15:35 -0000 1.89
+++ WHATSNEW-5.5 14 Feb 2008 14:15:27 -0000 1.90
@@ -12,9 +12,6 @@
Core
----
-* The UserDB "postlogin_action" code now runs for "new_account" requests
- as well as for "login".
-
* Fixed the MinQuantityField and MaxQuantityField enforcement code so that
it takes the entire cart into account when SeparateItems is in use.
More information about the interchange-cvs
mailing list