fixed #10158: Matrix 2.0 - Screenshots rendering poorly

This commit is contained in:
Yung Han Khoe 2009-04-21 17:28:05 +00:00
parent c3ea6d4683
commit ad6352d1eb
5 changed files with 77 additions and 0 deletions

View file

@ -35,6 +35,7 @@
- fixed: #10109: Matrix 2.0 - Updates to product listing by maintainer account require admin approval
- fixed #10146: Thingy duplicate errors
- Added Survey back button
- fixed #10158: Matrix 2.0 - Screenshots rendering poorly
7.7.3
- fixed #10094: double explanation in thread help

View file

@ -37,10 +37,21 @@ allMaintenanceSingleton($session);
unsetPackageFlags($session);
installThingyRecord( $session );
installPluggableTax( $session );
addMatrixMaxScreenshotWidthHeight($session);
addSurveyBackButtonColumn( $session );
finish($session); # this line required
#----------------------------------------------------------------------------
sub addMatrixMaxScreenshotWidthHeight {
my $session = shift;
print "\tAdding maximum screenshot width and height property to the Matrix." unless $quiet;
$session->db->write("alter table Matrix add maxScreenshotWidth int(11), add maxScreenshotHeight int(11);");
$session->db->write("update Matrix set maxScreenshotWidth = 800, maxScreenshotHeight = 600;");
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub unsetPackageFlags {
my $session = shift;