From ac08c7ce7a955745cf711abd45550369adb273cc Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 11:19:21 +0000 Subject: [PATCH] Updated check for activated faiManagement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18199 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 062bb2531..4ef97f5f0 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -1006,6 +1006,14 @@ class config { return (""); } + + /*! \brief Check whether a plugin is activated or not + */ + function pluginEnabled($class){ + $tmp = $this->search($class, "CLASS",array('menu','tabs')); + return(!empty($tmp)); + } + /*! \brief Get a configuration value from the config * -- 2.30.2