From f2c8d4eed54c4c79f4fd2ad5f0fb81876541b41e Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 3 Dec 2005 04:38:49 +0000 Subject: [PATCH] bug fixes --- docs/upgrades/upgrade_6.7.8-6.8.0.pl | 5 +++++ etc/WebGUI.conf.original | 15 ++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/upgrades/upgrade_6.7.8-6.8.0.pl b/docs/upgrades/upgrade_6.7.8-6.8.0.pl index 1614337be..aca6c15ae 100644 --- a/docs/upgrades/upgrade_6.7.8-6.8.0.pl +++ b/docs/upgrades/upgrade_6.7.8-6.8.0.pl @@ -821,6 +821,11 @@ sub addInOutBoard { dateStamp int not null, message text )"); + WebGUI::SQL->write("create table InOutBoard_delegates ( + userId varchar(22) binary not null, + delegateUserId varchar(22) binary not null, + assetId varchar(22) binary not null + )"); WebGUI::SQL->write("insert into userProfileField (fieldName,fieldLabel,visible,dataType,dataValues,dataDefault,sequenceNumber,profileCategoryId,editable) values ('department',".quote("'Department'").",1,'selectList',".quote("{'IT'=>'IT','HR'=>'HR','Regular Staff'=>'Regular Staff'}").",".quote("['Regular Staff']").",8,'6',1)"); my $import = WebGUI::Asset->getImportNode; my $folder = $import->addChild({ diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index e93d806a7..9a212411c 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -131,6 +131,12 @@ assets = WebGUI::Asset::Snippet, \ WebGUI::Asset::Wobject::SyndicatedContent, \ WebGUI::Asset::Wobject::WSClient +# Specify the list assets that are used for utility purposes only +# and are not typically used as a normal part of content +# management. + +utilityAssets = WebGUI::Asset::Template, WebGUI::Asset::RichEdit, WebGUI::Asset::File::Image, WebGUI::Asset::File + # Specify the list of assets you want to appear in your add # content menus that should act as containers for other content. # These items are typically not content themselves, but rather @@ -139,15 +145,6 @@ assets = WebGUI::Asset::Snippet, \ assetContainers = WebGUI::Asset::Wobject::Layout, \ WebGUI::Asset::Wobject::Folder -# Specify the list assets that are used for utility purposes only -# and are not typically used as a normal part of content -# management. - -utilityAssets = WebGUI::Asset::Template, \ - WebGUI::Asset::RichEdit, \ - WebGUI::Asset::File::Image, \ - WebGUI::Asset::File - # Optionally specify a group id for assets to tell WebGUI what # group a user needs to be part of in order to add that type of # asset.