diff --git a/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/trunk/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc
index 575626165251341721be9b18f95388cc4bf8fef2..b163d1b0552aff03fe479d7fa38caf4b1677b736 100644 (file)
foreach($this->attributes as $attr){
$ret[$attr] = $this->$attr;
}
- if($this->mode == SCHEDULED_EVENT){
- $ret['timestamp'] = $this->_timestamp_to_event($this->timestamp);
- }elseif(isset($ret['timestamp'])){
- unset($ret['timestamp']);
- }
+
+ $ret['timestamp'] = $this->_timestamp_to_event($this->timestamp);
+
return($ret);
}