Code

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

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 98db816caf92777e349b3de7345c98a98331b8fd..d28a4b20149209c3da65e5e72d8f4dd056c12062 100644 (file)
@@ -1199,7 +1199,7 @@ class workstartup 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);