From d869450925c53ba18728315f1393c2406a63eb99 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:45 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18209 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsi.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index 2aee03ea2..5010df52c 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -62,8 +62,7 @@ class opsi extends gosaSupportDaemon /* Detect the target opsi host */ - $tmp= $this->config->search("faiManagement", "CLASS",array('menu','tabs')); - if(!empty($tmp) && class_available("faiManagement")){ + if($this->config->pluginEnabled("faiManagement")){ $opsi_hosts = $this->get_hosts_with_module("opsi_com"); /* Just use the first result of the opsi hosts -- 2.30.2