added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again
This commit is contained in:
parent
3316f2a0f4
commit
aae6a32df4
6 changed files with 50 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue