Code

Updated FAI listing.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 May 2010 10:20:19 +0000 (10:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 May 2010 10:20:19 +0000 (10:20 +0000)
-Use get_ou instead of direct property access-

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18597 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_FAI.inc

index e23adcb7aa4c34c24d35691a2c7cde292348289f..8c31af6891d057eb5c6b457bc534958afd3c08e9 100644 (file)
@@ -147,13 +147,13 @@ class FAI
   {
     global $config;
     $arr = array(
-        $config->get_cfg_value('faiScript', 'faiScriptRDN'),
-        $config->get_cfg_value('faiHook', 'faiHookRDN'),
-        $config->get_cfg_value('faiTemplate', 'faiTemplateRDN'),
-        $config->get_cfg_value('faiVariable', 'faiVariableRDN'),
-        $config->get_cfg_value('faiProfile', 'faiProfileRDN'),
-        $config->get_cfg_value('faiPartitionTable', 'faiPartitionRDN'),
-        $config->get_cfg_value('faiPackage', 'faiPackageRDN')
+        get_ou('faiScript', 'faiScriptRDN'),
+        get_ou('faiHook', 'faiHookRDN'),
+        get_ou('faiTemplate', 'faiTemplateRDN'),
+        get_ou('faiVariable', 'faiVariableRDN'),
+        get_ou('faiProfile', 'faiProfileRDN'),
+        get_ou('faiPartitionTable', 'faiPartitionRDN'),
+        get_ou('faiPackage', 'faiPackageRDN')
         );
 
     $tmp = array();