Code

Replaced config->search with get_cfg_value
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:18:11 +0000 (12:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 12:18:11 +0000 (12:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18230 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc

index a72bd617d6adb8d986dac6172d0a5aaba5f484ea..efd239cd21261fcb0d4ea5b5af437fe939af5e2a 100644 (file)
@@ -195,7 +195,7 @@ class servRepositorySetup  extends plugin
   function GetHookElements()
   {
     $ret = array();
-    $cmd = $this->config->search("servrepository", "repositoryBranchHook",array('tabs'));
+    $cmd = $this->config->get_cfg_value("servrepository", "repositoryBranchHook");
     if(!empty($cmd)){
       $res = shell_exec($cmd);
       $res2 = trim($res);