summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 895b5d9)
raw | patch | inline | side by side (parent: 895b5d9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jun 2008 09:37:57 +0000 (09:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jun 2008 09:37:57 +0000 (09:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11346 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_serverService.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/tabs_server.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_serverService.inc b/gosa-plugins/systems/admin/systems/class_serverService.inc
index 668bd945f65a2be4a36ad8c2b5138cc320f74d30..5282d8f1f67ece71d685cc4d85efe5478efd3594 100644 (file)
}
}
}else{
- trigger_error("Service class missing: ".$plug['CLASS']);
+ #trigger_error("Service class missing: ".$plug['CLASS']);
}
}
$this->divList = new divListSystemService($config,$this);
diff --git a/gosa-plugins/systems/admin/systems/tabs_server.inc b/gosa-plugins/systems/admin/systems/tabs_server.inc
index 63a1a9545c40bef7eb8daa39f4950ea394495b23..2a1e59f0a1fe68de16292cf408cdf54bae70f317 100644 (file)
$baseobject= NULL;
foreach ($data as $tab){
- $this->by_name[$tab['CLASS']]= $tab['NAME'];
+
+ if(!class_available($tab['CLASS'])){
+ continue;
+ }
+ $this->by_name[$tab['CLASS']]= $tab['NAME'];
if ($baseobject === NULL){
$baseobject= new $tab['CLASS']($this->config, $this->dn,NULL,$this);
$this->by_object[$tab['CLASS']]= $baseobject;