From e488772123d2b0ee56ebd92c95880576f27aea62 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 12:17:32 +0000 Subject: [PATCH] Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18215 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 4ef97f5f0..e50de7e22 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -974,7 +974,9 @@ class config { } - /*! Search for a configuration setting in different categories + /*! Outdated - try to use pluginEnabled, boolValueIsTrue or get_cfg_value instead. + * + * (Search for a configuration setting in different categories * * Searches for the value of a given key in the configuration data. * Optionally the list of categories to search (tabs, main, locations) can @@ -984,6 +986,7 @@ class config { * \code * $postcmd = $this->config->search(get_class($this), "POSTCOMMAND", array("menu", "tabs")); * \endcode + * ) * * */ function search($class, $value, $categories= "") -- 2.30.2