From d742ea764b3b08d4ad29578386268fca72942551 Mon Sep 17 00:00:00 2001 From: Frank Dillon Date: Mon, 22 Dec 2003 01:02:01 +0000 Subject: [PATCH] no message --- docs/upgrades/upgrade_5.5.3-6.0.0.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/upgrades/upgrade_5.5.3-6.0.0.pl b/docs/upgrades/upgrade_5.5.3-6.0.0.pl index 92464b94c..9e360d981 100644 --- a/docs/upgrades/upgrade_5.5.3-6.0.0.pl +++ b/docs/upgrades/upgrade_5.5.3-6.0.0.pl @@ -440,8 +440,8 @@ WebGUI::SQL->write("delete from authentication where authMethod='WebGUI' and fie WebGUI::SQL->write("delete from authentication where authMethod='WebGUI' and fieldName='passwordTimeout'"); my $authSth = WebGUI::SQL->read("select userId from users where authMethod='WebGUI'"); while (my $authHash = $authSth->hashRef){ - WebGUI::SQL->write("insert into authentication (userId,authMethod,fieldName,fieldData) values ('".$authHash->userId."','WebGUI','passwordLastUpdated','".time()."'); - WebGUI::SQL->write("insert into authentication (userId,authMethod,fieldName,fieldData) values ('".$authHash->userId."','WebGUI','passwordTimeout','3122064000'); + WebGUI::SQL->write("insert into authentication (userId,authMethod,fieldName,fieldData) values ('".$authHash->{userId}."','WebGUI','passwordLastUpdated','".time()."')"); + WebGUI::SQL->write("insert into authentication (userId,authMethod,fieldName,fieldData) values ('".$authHash->{userId}."','WebGUI','passwordTimeout','3122064000')"); } @@ -457,7 +457,7 @@ unlink("../../lib/WebGUI/Operation/Account.pm"); unlink("../../lib/WebGUI/Authentication/WebGUI.pm"); unlink("../../lib/WebGUI/Authentication/LDAP.pm"); unlink("../../lib/WebGUI/Authentication/SMB.pm"); -rmdir("../../lib/WebGUI/Authentication") +rmdir("../../lib/WebGUI/Authentication"); WebGUI::Session::close();