summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 714ea1f)
raw | patch | inline | side by side (parent: 714ea1f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 12:17:50 +0000 (12:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 12:17:50 +0000 (12:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18222 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsi.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc
index 5010df52c2ee8f86de39275857d3a846cc88b0ab..b79e29d80d7c94316861e08958d3fba8ac663246 100644 (file)
public function enabled()
{
- $tmp= $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
- if(!empty($tmp) && class_available("faiManagement") && !empty($this->target)){
- return(TRUE);
- }
- return(FALSE);
+ return($this->config->pluginEnabled('faiManagement') && !empty($this->target));
}