fix - Unable to add EventsCalendar
This commit is contained in:
parent
2d69f47e99
commit
7d0cbe62ca
2 changed files with 11 additions and 6 deletions
|
|
@ -11,6 +11,8 @@
|
||||||
This is probably only a real problem in persistent code, like Workflow
|
This is probably only a real problem in persistent code, like Workflow
|
||||||
Activities and tests.
|
Activities and tests.
|
||||||
Added tests for File and Image assets to verify that this happens correctly.
|
Added tests for File and Image assets to verify that this happens correctly.
|
||||||
|
- fix - Unable to add EventsCalendar
|
||||||
|
|
||||||
|
|
||||||
7.3.0
|
7.3.0
|
||||||
- NOTICE: The Template Managers group is deprecated. It has not been removed
|
- NOTICE: The Template Managers group is deprecated. It has not been removed
|
||||||
|
|
|
||||||
|
|
@ -20,19 +20,22 @@ my $quiet; # this line required
|
||||||
|
|
||||||
my $session = start(); # this line required
|
my $session = start(); # this line required
|
||||||
|
|
||||||
# upgrade functions go here
|
cleanupEventsCalendar($session);
|
||||||
|
|
||||||
finish($session); # this line required
|
finish($session); # this line required
|
||||||
|
|
||||||
|
|
||||||
##-------------------------------------------------
|
##-------------------------------------------------
|
||||||
#sub exampleFunction {
|
sub cleanupEventsCalendar {
|
||||||
# my $session = shift;
|
my $session = shift;
|
||||||
# print "\tWe're doing some stuff here that you should know about.\n" unless ($quiet);
|
print "\tRemoving the rest of the old EventsCalendar wobject\n" unless ($quiet);
|
||||||
# # and here's our code
|
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 ----
|
# ---- DO NOT EDIT BELOW THIS LINE ----
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue