From 4263f167d0f2cd9427bdff46c21489666cd1f232 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:05:51 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18138 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ldap.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index f6e908a37..21fc08930 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -60,8 +60,8 @@ class LDAP{ $this->hostname=$hostname; /* Check if MAX_LDAP_QUERY_TIME is defined */ - if(is_object($config) && $config->get_cfg_value("ldapMaxQueryTime") != ""){ - $str = $config->get_cfg_value("ldapMaxQueryTime"); + if(is_object($config) && $config->get_cfg_value("core","ldapMaxQueryTime") != ""){ + $str = $config->get_cfg_value("core","ldapMaxQueryTime"); $this->max_ldap_query_time = (float)($str); } @@ -1206,7 +1206,7 @@ class LDAP{ /* Only read schema if it is allowed */ if(isset($config) && preg_match("/config/i",get_class($config))){ - if ($config->get_cfg_value("schemaCheck") != "true"){ + if ($config->get_cfg_value("core","schemaCheck") != "true"){ return($objectclasses); } } -- 2.30.2