From 0e8000734bc60764fec666c07e6a78a9d4538647 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Oct 2009 09:05:23 +0000 Subject: [PATCH] Do not send gosa-si events with periodic tag none. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14612 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc index f6b5d916f..ba24adf9d 100644 --- a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc @@ -492,8 +492,10 @@ class DaemonEvent unset($ret['timestamp']); } - $ret['periodic'] = "none"; - if($this-> activate_periodical_job){ + if(isset($ret['periodic'])){ + unset($ret['periodic']); + } + if($this->activate_periodical_job){ $ret['periodic']= $this->periodValue."_".$this->periodType; } -- 2.30.2