Code

Moved from schema_check to schemaCheck
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Sep 2008 09:45:10 +0000 (09:45 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 10 Sep 2008 09:45:10 +0000 (09:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12395 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/gosa.conf
gosa-core/contrib/gosa.conf.5
gosa-core/html/index.php
gosa-core/include/class_ldap.inc

index 528de04464e31b8a567f28ffa370372e7f3fa293..bd92ebcef1a7f6ac538f1b9100683a2846a437a0 100644 (file)
         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"
index 4a8c496c7ba140b280fc0f8a798bf3e8936f8759..75724ba78226ca2e02335c6b8f46295547824931 100644 (file)
@@ -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
index 2c17abef8e17804ea28e201e91dfe46e9888505d..342d9a3b7295fa70cb7bfac835705b139023074e 100644 (file)
@@ -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");
 
index ac5e1e47a9a0bcc3b32ffbde8db8bc1c188d473a..a83343709f0152189fd65343d6e4a6853ee7f23f 100644 (file)
@@ -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);
       } 
     }