Code

Updated device naming
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Sep 2010 09:13:00 +0000 (09:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 29 Sep 2010 09:13:00 +0000 (09:13 +0000)
- Save devices with uuid as  'deviceUUID=...,ou=device..'
   and those with just a cn as usual

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19845 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/DeviceTab.inc

index 86f09f7922ce0d37825bfdca733feff46f2e72da..e2e56e9901ce1cd4303f06dd779f997d9bae2f98 100644 (file)
@@ -38,6 +38,7 @@ class DeviceTab extends tabs
         if($this->dn != $baseobject->orig_dn && $baseobject->orig_dn != "new"){
             $baseobject->update_acls($baseobject->orig_dn,$this->dn);
             $baseobject->move($baseobject->orig_dn,$this->dn);
+            $baseobject->orig_dn = $this->dn;
         }
 
         // Save now