Code

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

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

index 1736e2aa6e7edc2f05cce87f756b6d08ef4b08c4..a60e94c7d9c5eb360e8743f17d4f69af5694e09e 100644 (file)
@@ -109,7 +109,7 @@ class terminfo extends plugin
 
           /* Use 'goto' as snmp community or the configured value from the config */
           $community= 'goto';
-         $str= $this->config->search("terminfo", "SNMPCOMMUNITY", array('tabs'));
+         $str= $this->config->get_cfg_value("terminfo", "snmpCommunity");
           if(!empty($str)){
             $community = $str;
           }