a few last minute bug fixes

This commit is contained in:
JT Smith 2005-09-11 22:12:17 +00:00
parent 5b4323e1bd
commit e750c405f8
3 changed files with 17 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -16,10 +16,20 @@ updatePageTemplates();
addDebug();
fixFutureDates();
makeQueriesFaster();
readdingIsSystem();
finish();
#-------------------------------------------------
sub readdingIsSystem {
print "\tRe-adding the isSystem flag to the asset table.\n" unless ($quiet);
WebGUI::SQL->write("alter table asset add column isSystem int not null default 0");
WebGUI::SQL->write("update asset set isSystem=1 where assetId='PBasset000000000000001'");
WebGUI::SQL->write("update asset set isSystem=1 where assetId='PBasset000000000000002'");
}
#-------------------------------------------------
sub makeQueriesFaster {
print "\tMaking queries a little faster.\n" unless ($quiet);