preparing for 7.0.8 bugfix cycle

- Fixed a couple of minor bugs with the default values of the Request
   Approval for Version Tag workflow activity.
 - Updated the hoverhelp to denote that you can use ranges in the WebGUI
   scheduler.
This commit is contained in:
JT Smith 2006-09-15 04:58:03 +00:00
parent a1bf6a2b21
commit 7852441151
7 changed files with 171 additions and 19 deletions

View file

@ -101,11 +101,19 @@ Removes this workflow and everything associated with it..
sub delete {
my $self = shift;
# delete crons
foreach my $cron (@{$self->getCrons}) {
$cron->delete;
}
foreach my $instance (@{$self->getInstances}) {
$instance->delete;
}
foreach my $activity (@{$self->getActivities}) {
$activity->delete;
}
# delete instances
$self->session->db->deleteRow("Workflow","workflowId",$self->getId);
$self = undef;
}