From 0fb744832aa9692e24c9cb2ec2638059eaab41bd Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 10 Sep 2008 09:45:10 +0000 Subject: [PATCH] Moved from schema_check to schemaCheck git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12395 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 4 ++-- gosa-core/contrib/gosa.conf.5 | 4 ++-- gosa-core/html/index.php | 2 +- gosa-core/include/class_ldap.inc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index 528de0446..bd92ebcef 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -426,9 +426,9 @@ displayerrors="false" {/if} {if $cv.enable_schema_check} - schema_check="true" + schemaCheck="true" {else} - schema_check="false" + schemaCheck="false" {/if} {if $cv.generic_settings.enableCopyPaste} enableCopyPaste="true" diff --git a/gosa-core/contrib/gosa.conf.5 b/gosa-core/contrib/gosa.conf.5 index 4a8c496c7..75724ba78 100644 --- a/gosa-core/contrib/gosa.conf.5 +++ b/gosa-core/contrib/gosa.conf.5 @@ -603,11 +603,11 @@ statement tells GOsa to stop LDAP actions if there is no answer within the specified number of seconds. .PP -.B schema_check +.B schemaCheck .I bool .PP The -.I schema_check +.I schemaCheck statement enables or disables schema checking during login. It is recommended to switch this on in order to let GOsa handle object creation more efficient. .PP diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index 2c17abef8..342d9a3b7 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -259,7 +259,7 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces if(!isset($config->data['MAIN']['SCHEMA_CHECK'])){ $config->data['MAIN']['SCHEMA_CHECK'] = "true"; } - if ($config->get_cfg_value("schema_check") == "true"){ + if ($config->get_cfg_value("schemaCheck") == "true"){ $recursive = ($config->get_cfg_value("recursive") == "true"); $tls = ($config->get_cfg_value("tls") == "true"); diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index ac5e1e47a..a83343709 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -1195,7 +1195,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("schema_check") != "true"){ + if ($config->get_cfg_value("schemaCheck") != "true"){ return($objectclasses); } } -- 2.30.2