Code

Fixed some comments.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 May 2008 12:27:45 +0000 (12:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 14 May 2008 12:27:45 +0000 (12:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10893 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc

index 3e527f01e3410e73f6f02e7e63df18fb11103b87..02c2f642b6a146f03f81aa0ef246f8bc48e08c95 100644 (file)
@@ -184,9 +184,10 @@ class phoneConferenceManagment extends plugin
         foreach($this->dns as $dn){
           $dns_names[] = @LDAP::fix($dn);
         }
-        add_lock ($this->dns, $this->ui->dn);
 
         /* Lock the current entry, so nobody will edit it during deletion */
+        add_lock ($this->dns, $this->ui->dn);
+
         $smarty->assign("info", msgPool::deleteInfo($dns_names,_("conference")));
         $smarty->assign("multiple", true);
         return($smarty->fetch(get_template_path('remove.tpl', TRUE)));
@@ -211,6 +212,7 @@ class phoneConferenceManagment extends plugin
           msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG);
         }
       }
+
       /* Remove lock file after successfull deletion */
       $this->remove_lock();
       $this->dns = array();
@@ -337,7 +339,6 @@ class phoneConferenceManagment extends plugin
 
         if (!isset($_POST['edit_apply'])){
           $this->remove_lock();
-          unset ($this->conftab);
           $this->conftab= NULL;
           session::un_set('objectinfo');
         }else{