From: hickert Date: Thu, 27 May 2010 11:48:58 +0000 (+0000) Subject: Connected schema checks to 'core:schemeCheck'=true X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b2f48b62c73a3db551da1a66bda497ec682e1214;p=gosa.git Connected schema checks to 'core:schemeCheck'=true git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18774 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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(); }