From b2f48b62c73a3db551da1a66bda497ec682e1214 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 May 2010 11:48:58 +0000 Subject: [PATCH] Connected schema checks to 'core:schemeCheck'=true git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18774 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 0b44deb12..ec7b22390 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -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(); } -- 2.30.2