added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again

This commit is contained in:
Doug Bell 2008-04-28 02:07:56 +00:00
parent 3316f2a0f4
commit aae6a32df4
6 changed files with 50 additions and 2 deletions

View file

@ -44,6 +44,8 @@
- added: DataForm now can use CAPTCHA for Visitors
- Spent some time cleaning up DataForm, but it could use more.
- added: Commit Version Tag screen shows revisions in the tag
- added: Ability to enable/disable Thread archiving on a per-Collaboration
basis
7.5.10

View file

@ -44,9 +44,22 @@ upgradeEMS($session);
migrateOldProduct($session);
mergeProductsWithCommerce($session);
addCaptchaToDataForm( $session );
addArchiveEnabledToCollaboration( $session );
finish($session); # this line required
#----------------------------------------------------------------------------
# Add the archiveEnabled field to Collaboration assets
sub addArchiveEnabledToCollaboration {
my $session = shift;
print "\tAdding archiveEnabled to Collaboration... " unless $quiet;
$session->db->write(
q{ ALTER TABLE Collaboration ADD COLUMN archiveEnabled INT(1) DEFAULT 1 }
);
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Add the useCaptcha field to DataForm assets
sub addCaptchaToDataForm {