Code

Connected schema checks to 'core:schemeCheck'=true
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 11:48:58 +0000 (11:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 11:48:58 +0000 (11:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18774 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php

index 0b44deb1208d1558d9eca6a7e9fd2362f973a996..ec7b22390f1f43ae6a89b39cf18bcd0d395f3450 100644 (file)
@@ -67,7 +67,8 @@ $config->check_and_reload();
 $config->configRegistry->reload();
 
 // Validate LDAP schema if not done already
-if(!$config->configRegistry->schemaCheckFinished() && 
+if( $config->boolValueIsTrue('core','schemaCheck') && 
+    !$config->configRegistry->schemaCheckFinished() && 
     !$config->configRegistry->validateSchemata($force=FALSE,$disableIncompatiblePlugins=TRUE)){
     $config->configRegistry->displayErrors();
 }