no message

This commit is contained in:
Frank Dillon 2003-12-22 00:27:57 +00:00
parent 2fe432ce37
commit c6ea6bad2a
2 changed files with 19 additions and 7 deletions

View file

@ -434,18 +434,30 @@ $conf->set("wobjects"=>\@newWobjects);
$conf->write;
#--------------------------------------------
print "\tUpdating Authentication.\n" unless ($quiet);
WebGUI::SQL->write("delete from authentication where authMethod='WebGUI' and fieldName='passwordLastUpdated'");
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');
}
#--------------------------------------------
print "\tRemoving unneeded files.\n" unless ($quiet);
print "\tRemoving unneeded files and directories.\n" unless ($quiet);
unlink("../../lib/WebGUI/Operation/Style.pm");
unlink("../../lib/WebGUI/Wobject/Item.pm");
unlink("../../lib/WebGUI/Wobject/LinkList.pm");
unlink("../../lib/WebGUI/Wobject/FAQ.pm");
unlink("../../lib/WebGUI/Wobject/ExtraColumn.pm");
unlink("../../lib/WebGUI/Authentication.pm");
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")
WebGUI::Session::close();

View file

@ -1,4 +1,4 @@
insert into webguiVersion values ('6.0.0','upgrade',unix_timestamp());
insert into webguiVersion values ('6.0.0','upgrade',unix_timestamp());
delete from international where internationalId=158 and namespace='WebGUI';
delete from international where internationalId=803 and namespace='WebGUI';
delete from international where internationalId=804 and namespace='WebGUI';
@ -12,7 +12,7 @@ delete from international where internationalId=501 and namespace='WebGUI';
delete from international where internationalId=154 and namespace='WebGUI';
delete from international where internationalId=157 and namespace='WebGUI';
delete from international where internationalId=398 and namespace='WebGUI';
delete from style where name='Reserved';
#delete from style where name='Reserved';
delete from international where internationalId=654 and namespace='WebGUI';
delete from international where internationalId=609 and namespace='WebGUI';
delete from international where internationalId=659 and namespace='WebGUI';