fix - Wiki Page not added to config
This commit is contained in:
parent
577c6fb34a
commit
e06de9f9cc
2 changed files with 8 additions and 3 deletions
|
|
@ -12,6 +12,7 @@
|
|||
Activities and tests.
|
||||
Added tests for File and Image assets to verify that this happens correctly.
|
||||
- fix - Unable to add EventsCalendar
|
||||
- fix - Wiki Page not added to config
|
||||
|
||||
|
||||
7.3.0
|
||||
|
|
|
|||
|
|
@ -21,11 +21,17 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
cleanupEventsCalendar($session);
|
||||
addWikiPage($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addWikiPage {
|
||||
my $session = shift;
|
||||
$session->config->addToArray("assetContainers","WebGUI::Asset::WikiPage");
|
||||
}
|
||||
|
||||
##-------------------------------------------------
|
||||
#-------------------------------------------------
|
||||
sub cleanupEventsCalendar {
|
||||
my $session = shift;
|
||||
print "\tRemoving the rest of the old EventsCalendar wobject\n" unless ($quiet);
|
||||
|
|
@ -33,8 +39,6 @@ sub cleanupEventsCalendar {
|
|||
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 ----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue