fix typo in WebGUI::Workflow::Cron::delete and reenable default notification to spectre of Cron deletion
This commit is contained in:
parent
d8d1863c47
commit
fed13bad77
2 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ sub delete {
|
|||
my $self = shift;
|
||||
my $skipNotify = shift;
|
||||
$self->session->db->deleteRow("WorkflowSchedule","taskId",$self->getId);
|
||||
if ($skipNotify) {
|
||||
if (! $skipNotify) {
|
||||
WebGUI::Workflow::Spectre->new($self->session)->notify("cron/deleteJob", $self->session->config->getFilename."-".$self->getId);
|
||||
}
|
||||
undef $self;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue