- fix: Can't create new account
- fix: Several new assets aren't added to config during upgrade process - fix: Post Subject HTML - fix: Matrix: can't instantiate template
This commit is contained in:
parent
ebf8fd8065
commit
aaa93d466b
5 changed files with 25 additions and 6 deletions
|
|
@ -22,9 +22,19 @@ my $session = start(); # this line required
|
|||
|
||||
# upgrade functions go here
|
||||
i18nDepartmentNames();
|
||||
addMissingAssets();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#--------------------------------------------------
|
||||
sub addMissingAssets {
|
||||
print "\tAdding assets to config file that weren't added before.\n" unless ($quiet);
|
||||
my $config = $session->config;
|
||||
$config->addToArray("assets","WebGUI::Asset::Wobject::TimeTracking");
|
||||
$config->addToArray("assets","WebGUI::Asset::Wobject::ProjectManager");
|
||||
$config->addToArray("assets","WebGUI::Asset::Wobject::EventManagementSystem");
|
||||
}
|
||||
|
||||
#--------------------------------------------------
|
||||
sub i18nDepartmentNames {
|
||||
print "\tInternationalizing department settings in user profile\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue