From c9bd6c4d92532063a9dd8df3cfd20740d43e5841 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 12:17:39 +0000 Subject: [PATCH] Replaced config->search with get_cfg_value git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18218 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)){ -- 2.30.2