Added switch to allow for non-recurring subscriptions.
This commit is contained in:
parent
84a98029eb
commit
6f1a3fbbac
4 changed files with 37 additions and 1 deletions
|
|
@ -36,6 +36,8 @@
|
|||
- fixed #8914: epoch for calendar/List View for Calendar
|
||||
- fixed: Get CS Mail workflow doesn't commit version tags created
|
||||
- rfe: Thingy can now copy thingy entries
|
||||
- Added a switch to subscriptions so that they can be also non-recurring to
|
||||
facilitate eg. limited time meberships (Martin Kamerbeek / Oqapi)
|
||||
|
||||
7.6.3
|
||||
- improved performance of file uploads
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ upgradeAccount( $session );
|
|||
removeProcessRecurringPaymentsFromConfig( $session );
|
||||
addExtendedProfilePrivileges( $session );
|
||||
addStorageUrlMacro( $session );
|
||||
addRecurringSubscriptionSwitch( $session );
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
@ -384,6 +385,17 @@ sub fixFriendsGroups {
|
|||
}
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addRecurringSubscriptionSwitch {
|
||||
my $session = shift;
|
||||
|
||||
print "\tAdding a recurring/nonrecurring switch to subscriptions... " unless $quiet;
|
||||
|
||||
$session->db->write('alter table Subscription add column recurringSubscription tinyint(1) not null default 1');
|
||||
|
||||
print "Done!\n";
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub upgradeAccount {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue