diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ff51c01a6..394874652 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -11,6 +11,8 @@ This is probably only a real problem in persistent code, like Workflow Activities and tests. Added tests for File and Image assets to verify that this happens correctly. + - fix - Unable to add EventsCalendar + 7.3.0 - NOTICE: The Template Managers group is deprecated. It has not been removed diff --git a/docs/upgrades/upgrade_7.3.0-7.3.1.pl b/docs/upgrades/upgrade_7.3.0-7.3.1.pl index 3e18a6cfb..0cf89ec45 100644 --- a/docs/upgrades/upgrade_7.3.0-7.3.1.pl +++ b/docs/upgrades/upgrade_7.3.0-7.3.1.pl @@ -20,19 +20,22 @@ my $quiet; # this line required my $session = start(); # this line required -# upgrade functions go here +cleanupEventsCalendar($session); finish($session); # this line required ##------------------------------------------------- -#sub exampleFunction { -# my $session = shift; -# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet); -# # and here's our code -#} +sub cleanupEventsCalendar { + my $session = shift; + print "\tRemoving the rest of the old EventsCalendar wobject\n" unless ($quiet); + unlink("../../lib/WebGUI/Asset/Wobject/EventsCalendar.pm"); + unlink("../../lib/WebGUI/i18n/English/Asset_EventsCalendar.pm"); + unlink("../../lib/WebGUI/Help/Asset_EventsCalendar.pm"); + $session->config->deleteFromArray("assets","WebGUI::Asset::Wobject::EventsCalendar") +} # ---- DO NOT EDIT BELOW THIS LINE ----