From 82a3e7fe8c299c339a875c5c3a2e891a987860b4 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 May 2008 12:27:45 +0000 Subject: [PATCH] Fixed some comments. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10893 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/conference/class_phoneConferenceManagment.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc index 3e527f01e..02c2f642b 100644 --- a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc +++ b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc @@ -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{ -- 2.30.2