Code

Updated printer/terminal class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 09:01:30 +0000 (09:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 09:01:30 +0000 (09:01 +0000)
-Tagging only in class_plugin

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

gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc
gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc

index 8ded9f85ea6dbfac68693c90487707ffec0fae22..756b90c9ad664c049cd2032e8a56265f362a1d1e 100644 (file)
@@ -814,10 +814,6 @@ class printgeneric extends plugin
           unset($this->attrs[$checkVar]);
         }
       }
-    }else{
-      if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){
-        $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag";
-      }
     }
 
     /* Ensure to create a new object */
index 3b4f67d733ff62db07ceb4d899337fda0d1caabd..d71ad919692f70c82c77c2bf569960e1929ea666 100644 (file)
@@ -483,11 +483,6 @@ class termgeneric extends plugin
       }
     }
 
-    /* Append gosaAdministrativeUnitTag to objectClass if gosaUnitTag isset */
-    if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){
-      $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag";
-    }
-
     /* Write back to ldap */
     $ldap= $this->config->get_ldap_link();
     if ($this->orig_dn == 'new'){