fix typo in WebGUI::Workflow::Cron::delete and reenable default notification to spectre of Cron deletion

This commit is contained in:
Colin Kuskie 2007-03-23 21:11:10 +00:00
parent d8d1863c47
commit fed13bad77
2 changed files with 2 additions and 1 deletions

View file

@ -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;