Code

Updated system activation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 May 2008 13:32:37 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 May 2008 13:32:37 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10933 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/class_userManagement.inc

index 322d0ae403099a789fdf761ee103f429f8ce21ec..7e250dbc54bdd80e5da0f26452465f1a59e832c4 100644 (file)
@@ -376,6 +376,20 @@ class userManagement extends plugin
       Edit existing entry
      ********************/
 
+    if($s_action == "edit"){
+
+      $d = "ou=Direktorium,o=Landeshauptstadt München,c=de";
+      $s = "ou=a-Direktorium,o=Landeshauptstadt München,c=de";
+
+#      $s = "ou=Direktorium,o=Landeshauptstadt München,c=de";
+#      $d = "ou=a-Direktorium,o=Landeshauptstadt München,c=de";
+
+
+      $tmp = new user($this->config,$this->list[trim($s_entry)]['dn']);
+      $tmp->move($s,$d);
+      $s_action ="";
+    }
+
     /* User wants to edit data? */
     if (($s_action=="edit") && (!isset($this->usertab->config))){