From: hickert Date: Tue, 17 Apr 2007 10:55:37 +0000 (+0000) Subject: Fixed locking X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2cb3101acb53ee277c9fe6a31b2f9be4c20a98ba;p=gosa.git Fixed locking git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6068 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index 2a79cf9b6..ff480bea7 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -345,10 +345,24 @@ class userManagement extends plugin } /* Remove lock file after successfull deletion */ del_lock ($dn); + unset($this->dns[$key]); } } + /******************** + Delete MULTIPLE entries Canceled + ********************/ + + /* Remove lock */ + if(isset($_POST['delete_multiple_user_cancel'])){ + foreach($this->dns as $key => $dn){ + del_lock ($dn); + unset($this->dns[$key]); + } + } + + /******************** Delete entry requested, display confirm dialog ********************/ diff --git a/plugins/admin/users/remove.tpl b/plugins/admin/users/remove.tpl index eb78a09b3..eb4147166 100644 --- a/plugins/admin/users/remove.tpl +++ b/plugins/admin/users/remove.tpl @@ -13,10 +13,11 @@

{if $multiple} + {else} + {/if}   -