summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8ad138)
raw | patch | inline | side by side (parent: e8ad138)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Jun 2009 13:09:15 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Jun 2009 13:09:15 +0000 (13:09 +0000) |
-Locks were created with the source dn, but removed for the target dn.
-If the system was renamed, the old locks were not removed.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13819 594d385d-05f5-0310-b6e9-bd551577e9d8
-If the system was renamed, the old locks were not removed.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13819 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 6fa29968eedcfae0d11a270be8836a0a1ec37502..7bd00a727f58505bacf48d41e0884efdaea3f6bb 100644 (file)
function remove_lock()
{
- if (isset($this->systab->dn)){
- del_lock ($this->systab->dn);
- }elseif(isset($this->dn) && !empty($this->dn) && $this->dn != "new"){
+
+ if(isset($this->dn) && !empty($this->dn) && $this->dn != "new"){
del_lock($this->dn);
+ }elseif (isset($this->systab->dn)){
+ del_lock ($this->systab->dn);
}
if(isset($this->dns) && is_array($this->dns) && count($this->dns)){
del_lock($this->dns);