Code

fixed conference saving. Conferences were saved twice.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 09:58:22 +0000 (09:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 09:58:22 +0000 (09:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7997 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/conference/class_phoneConferenceManagment.inc

index 2dadfabd221475c08922b2e414a82d3bbca9d26a..023e52e36680e1bfd3d3125590ca696784915b74 100644 (file)
@@ -337,8 +337,10 @@ class phoneConferenceManagment extends plugin
 
       if (count($message) == 0){
         if($this->conftab->save() == 1){
+          gosa_log ("goFonConference object '".$this->dn."' saving failed.");
           return;
         }
+        gosa_log ("goFonConference object '".$this->dn."' has been saved");
 
         if (!isset($_POST['edit_apply'])){
           if ($this->dn != "new"){
@@ -346,7 +348,6 @@ class phoneConferenceManagment extends plugin
           }
         }
 
-        $this->conftab->save ();
         del_lock ($this->conftab->dn);;
         unset ($this->conftab);
         $this->conftab= NULL;