X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_gosaSupportDaemon.inc;h=6d29cc6d170ae080e29f22231cc3aaf109add6d4;hb=f997864db5d2598dc10d2c54fdaebfb789462f2c;hp=14f84f7c80c33d49429093305865911d1926709a;hpb=8963519b5f3ac47f94a003f313a37fc39782eed2;p=gosa.git diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 14f84f7c8..6d29cc6d1 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -259,6 +259,8 @@ class gosaSupportDaemon */ public function update_entry($id,$entry) { + $this->b_error = FALSE; + $this->s_error = ""; if(!is_numeric($id)){ trigger_error("Requires an integer value as ID parameter."); return; @@ -274,9 +276,6 @@ class gosaSupportDaemon $attr.="<".strtolower($name).">".$entry."\n"; } - $this->b_error = FALSE; - $this->s_error = ""; - $xml_msg = "
gosa_update_status_jobdb_entry
@@ -288,7 +287,6 @@ class gosaSupportDaemon
"; $this->connect(); if($this->is_connected){ - echo $xml_msg; $this->o_sock->write($xml_msg); $str = trim($this->o_sock->read()); $entries = $this->xml_to_array($str);