Set correct defaults for icalFeeds in existant calendars. Fixes bug #11005
This commit is contained in:
parent
7349cf52b8
commit
255abcdf97
3 changed files with 38 additions and 1 deletions
|
|
@ -48,6 +48,7 @@
|
|||
- fixed #10954: DataForm fails silently
|
||||
- fixed #10950: Thingy
|
||||
- fixed #10976: Form::Date not internationalized /DateTime::setToEpoch
|
||||
- fixed #11005: calendar feed workflow
|
||||
|
||||
7.7.19
|
||||
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ fixTemplateSettingsFromShunt($session);
|
|||
addSubscribableAspect( $session );
|
||||
addMatrixColumnDefaults($session);
|
||||
addFeaturedPageWiki( $session );
|
||||
fixEmptyCalendarIcalFeeds( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -49,6 +50,19 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the column for featured wiki pages
|
||||
sub fixEmptyCalendarIcalFeeds {
|
||||
my $session = shift;
|
||||
print "\tSetting icalFeeds in the Calendar to the proper default... " unless $quiet;
|
||||
|
||||
$session->db->write(
|
||||
"UPDATE Calendar set icalFeeds='[]' where icalFeeds IS NULL",
|
||||
);
|
||||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the column for featured wiki pages
|
||||
sub addFeaturedPageWiki {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue