[ 1474390 ] delete workflow fails
This commit is contained in:
parent
7921c7a708
commit
149789c11e
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ sub www_deleteWorkflow {
|
|||
return $session->privilege->insufficient() unless ($session->user->isInGroup("pbgroup000000000000015"));
|
||||
my $workflow = WebGUI::Workflow->new($session, $session->form->get("workflowId"));
|
||||
$workflow->delete if defined $workflow;
|
||||
return www_manageWorkflow($session);
|
||||
return www_manageWorkflows($session);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ sub delete {
|
|||
}
|
||||
# delete instances
|
||||
$self->session->db->deleteRow("Workflow","workflowId",$self->getId);
|
||||
$self->undef;
|
||||
$self = undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue