From: hickert Date: Wed, 21 Oct 2009 09:05:23 +0000 (+0000) Subject: Do not send gosa-si events with periodic tag none. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e8000734bc60764fec666c07e6a78a9d4538647;p=gosa.git 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 --- 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; }