summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41a91e1)
raw | patch | inline | side by side (parent: 41a91e1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 11:05:19 +0000 (11:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 11:05:19 +0000 (11:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9167 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc | patch | blob | history | |
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc b/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc
index 76d1e5f2abb27199ed962947dcda86c9d9005b25..400f13c1b950bb6f96a7e7b665882e2714c9cfe8 100644 (file)
foreach($attrs as $to => $from){
$this->$to = $data[$from];
}
+ if(isset($data['TIMESTAMP'])){
+ $this->timestamp = $this->_event_to_timestamp($data['TIMESTAMP']);
+ }
}
}
diff --git a/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc b/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc
index 9d499762e0279af14f3fd16690fdb26473a0e510..f2d029d1a9a239c16aff954d06cc412f833148dd 100644 (file)
class DaemonEvent_reinstall extends DaemonEvent
{
- var $progress = -1;
- var $status = "none";
+ var $progress = 0;
+ var $status = "";
public function __construct($config,$data = array())
{
$this->progress = $data['PROGRESS'];
}
if(isset($data['STATUS'])){
- $this->progress = $data['STATUS'];
+ $this->status = $data['STATUS'];
}
}
}
{
$ret = DaemonEvent::save();
foreach(array("progress","status") as $attr){
-# $ret[$attr] = $this->$attr;
+ $ret[$attr] = $this->$attr;
}
return($ret);
}