Code

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

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

index 78c2b3067bc96408e3080f0f4333a85972fb64f7..1b657e4011646b77ab60af743266faaf6076d40c 100644 (file)
@@ -129,7 +129,7 @@ class termstartup extends plugin
 
     /* Get list of boot kernels */
     if (isset($this->config->data['TABS'])){
-      $command= $this->config->search(get_class($this), "systemKernelsHook",array('tabs'));
+      $command= $this->config->get_cfg_value(get_class($this), "systemKernelsHook");
 
       if (!check_command($command)){
         $message[]= sprintf(_("Command '%s', specified as systemKernelsHook for plugin '%s' doesn't seem to exist."), $command,