This commit is contained in:
JT Smith 2006-05-15 05:26:36 +00:00
parent 0fa7178b00
commit 7e3c3611b2
2 changed files with 15 additions and 9 deletions

View file

@ -1,6 +1,7 @@
6.99.1
- Bugfixes on dashboard to fix template errors.
- Bug fixes to make WebGUI work with the WRE demo system.
- Fixed a typo in the activities in the config file.
6.99.0
- Added a workflow system.

View file

@ -20,19 +20,24 @@ my $quiet; # this line required
my $session = start(); # this line required
# upgrade functions go here
fixTypos();
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 fixTypos {
my $session = shift;
print "\tFixing typos.\n" unless ($quiet);
my $activities = $session->config->get("workflowActivities");
my $versionTag = $activities->{"WebGUI::VersionTag"};
my @newStuff = ("WebGUI::Workflow::Activity::ExportVersionTagToHtml");
foreach my $value (@{$versionTag}) {
push(@newStuff, $value);
}
$activities->{"WebGUI::VersionTag"} = \@newStuff;
$session->config->set("workflowActivities",$activities);
}
# ---- DO NOT EDIT BELOW THIS LINE ----