Code

Updated the device tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 16 Sep 2010 08:27:48 +0000 (08:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 16 Sep 2010 08:27:48 +0000 (08:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19697 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index fa902b0dd3fbf15b3cfdac42bc6c223ad19a384a..baaa24bcaa173a1422690a82a43c82b998a5b944 100644 (file)
@@ -1,14 +1,11 @@
 <?php
 
-class registeredDeviceTab extends tabs
+class DeviceTab extends tabs
 {
-
-    
-    
     function save($ignore_account= FALSE)
     {
         // Prepare object DN
-        $baseobject= $this->by_object['registeredDevice'];
+        $baseobject= $this->by_object['Device'];
         $cn      = preg_replace('/,/', '\,', $baseobject->cn);
         $cn      = preg_replace('/"/', '\"', $cn);
         $this->dn= "cn=".$cn.",ou=systems,".$baseobject->base;