Added Karma RFE: Thumbnail size can be enterred in CS

This commit is contained in:
JT Smith 2006-10-11 04:05:12 +00:00
parent b1bb5d0b58
commit 4f0d117c9f
6 changed files with 62 additions and 3 deletions

View file

@ -18,6 +18,7 @@
- Changed the ?op=editProduct form to a TabForm.
- fixed a small error in WebGUI::Group documentation.
- Added WebGUI::Text with some CSV functions.
- Added Karma RFE: Thumbnail size can be enterred in CS
7.0.9
- Removed the need for DateTime::Cron::Simple, which also added the ability

View file

@ -23,11 +23,21 @@ recalculateProjectCompletion($session);
updateSqlReportTable($session);
updateProductsTable($session);
makeLdapRecursiveFiltersText($session);
addImageStuffToCs($session);
finish($session); # this line required
##-------------------------------------------------
#-------------------------------------------------
sub addImageStuffToCs {
my $session = shift;
print "\tAdding thumbnail and image sizing to CS.\n" unless $quiet;
$session->db->write("alter table Collaboration add column thumbnailSize int not null default 0");
$session->db->write("alter table Collaboration add column maxImageSize int not null default 0");
}
#-------------------------------------------------
sub recalculateProjectCompletion {
my $session = shift;
print "\tForcing project completion recalculation.\n" unless $quiet;