Code

Fixed hotplug remove
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Oct 2007 05:42:57 +0000 (05:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Oct 2007 05:42:57 +0000 (05:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7482 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 21b1539e8ca96b78be9f58f7979b8ea26943a96c..b569454ab3f8f8bd40d817401e67f4bfcc3747e0 100644 (file)
@@ -1147,7 +1147,7 @@ class environment extends plugin
     }    
 
     /* Prepare HotPlug devices */
-    $this->attrs['gotoHotplugDevice'] = array();
+    $this->attrs['gotoHotplugDeviceDN'] = array();
     foreach($this->gotoHotplugDevices as $name => $device){
       $this->attrs['gotoHotplugDeviceDN'][]= $device['dn'];
     }
@@ -1207,7 +1207,7 @@ class environment extends plugin
     $ldap->cd($this->dn);
     $this->cleanup();
     $ldap->$mode($this->attrs);
-
+  
     $cat = "users";
     if($this->is_group){
       $cat = "groups";