From aaa2eade81a822f1a18ff677f66df42878c05b40 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Dec 2008 08:39:30 +0000 Subject: [PATCH] Do not use objectinfo for locking. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13272 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc b/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc index 1774090f4..3dfb0f37f 100644 --- a/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc +++ b/gosa-plugins/dfs/addons/godfs/class_dfsManagment.inc @@ -96,7 +96,6 @@ class dfsManagment extends plugin { $this->dfstab = new dfstabs($this->config, $this->config->data['TABS']['DFSTABS'], $this->dn); $this->dfstab->set_acl($this->acl); $this->dfstab->save_object(); - set_object_info($this->dn); } } @@ -120,11 +119,10 @@ class dfsManagment extends plugin { # cancel pressed if (isset($_POST['edit_cancel'])) { - del_lock (get_object_info()); + del_lock ($this->dn); unset ($this->dfstab); $this->dfstab = NULL; $this->dn = ""; - set_object_info(); } # delete pressed @@ -148,11 +146,10 @@ class dfsManagment extends plugin { msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->basedn, LDAP_DEL, get_class())); } - del_lock (get_object_info()); + del_lock ($this->dn); unset ($this->dfstab); $this->dfstab = NULL; $this->dn = ""; - set_object_info(); } # generate main page no tabs -- 2.30.2