Code

Added empty package configuration dialog
[gosa.git] / plugins / gofon / conference / class_phoneConferenceManagment.inc
index 112e54223eb37e1fb152aacbb80c0360bafd0262..ee70b9fa4b15aeceefc5180869cb059102827f0b 100644 (file)
@@ -248,12 +248,14 @@ class phoneConferenceManagment extends plugin
         }
 
         $this->conftab->save ();
+        del_lock ($this->conftab->dn);;
         unset ($this->conftab);
         $this->conftab= NULL;
         unset ($_SESSION['objectinfo']);
       } else {
         show_errors($message);
       }
+      
       $this->reload();
     }
 
@@ -435,6 +437,8 @@ class phoneConferenceManagment extends plugin
 
   function remove_from_parent()
   {
+    $cfg = new conference($this->config, $this->dn);
+    $cfg->remove_from_parent();
     $ldap= $this->config->get_ldap_link();
     $ldap->cd ($this->dn);
     $ldap->recursive_remove();