Code

Do not send gosa-si events with periodic tag none.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Oct 2009 09:05:23 +0000 (09:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 Oct 2009 09:05:23 +0000 (09:05 +0000)
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

index f6b5d916f1f3fc74e7b20685f5e5d98b771e16e3..ba24adf9d42a45c60433370e100ca05e00263cc6 100644 (file)
@@ -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;
     }