From: hickert Date: Mon, 10 May 2010 12:17:39 +0000 (+0000) Subject: Replaced config->search with get_cfg_value X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9bd6c4d92532063a9dd8df3cfd20740d43e5841;p=gosa.git Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18218 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 93eab234c..33f750a35 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -466,8 +466,7 @@ class plugin } /* Find hooks entries for this class */ - $command= $this->config->search(get_class($this), "CHECK", array('menu', 'tabs')); - + $command = $config->configRegistry->getPropertyValue(get_class($plugin),"check"); if ($command != ""){ if (!check_command($command)){