summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0296b8)
raw | patch | inline | side by side (parent: b0296b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Nov 2010 08:47:50 +0000 (08:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Nov 2010 08:47:50 +0000 (08:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20332 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 7ffefce5adfb16ec636ad45df91b860487ecbd3d..f3eb69cad3f9b385a8e6df8389a74c1231a017a2 100644 (file)
$tabs['FAKE_OC_ArpNewDevice'] = &$tabs['FAKE_OC_NewDevice'];
+
+ // Remove those types, we cannot handle at the moment due to lack of
+ // installed GOsa-plugins.
+ foreach($tabs as $name => $tab){
+
+ if(!class_available($tab['plugClass'])) {
+ unset($tabs[$name]);
+ }
+ }
+
return($tabs);
}
- static function filterSystemDescription($row,$dn,$pid,$state,$description=array())
+ static function filterSystemDescription($row,$dn,$pid,$state = '',$description=array())
{
$dn= LDAP::fix(func_get_arg(1));
$desc = isset($description[0])?set_post($description[0]):"";