summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cfc11b)
raw | patch | inline | side by side (parent: 9cfc11b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 May 2010 14:13:50 +0000 (14:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 May 2010 14:13:50 +0000 (14:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18695 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history | |
gosa-core/include/class_configRegistry.inc | patch | blob | history |
index 710b8c34e7cc78a65215ce08db1e493c25578fc1..0b44deb1208d1558d9eca6a7e9fd2362f973a996 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
$config= session::global_get('config');
$config->check_and_reload();
$config->configRegistry->reload();
-if(!$config->configRegistry->validateSchemata($force=FALSE,$disableIncompatiblePlugins=TRUE)){
+
+// Validate LDAP schema if not done already
+if(!$config->configRegistry->schemaCheckFinished() &&
+ !$config->configRegistry->validateSchemata($force=FALSE,$disableIncompatiblePlugins=TRUE)){
$config->configRegistry->displayErrors();
}
diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc
index 1a2d7b733f522a99d533df5f80068f5387d71f08..33b033b69d798c1ea74e2f87fac4b99e76d37f29 100644 (file)
$this->reload();
}
+
+ function schemaCheckFinished()
+ {
+ return($this->schemaCheckFinished);
+ }
+
function validateSchemata($force = FALSE, $disableIncompatiblePlugins = FALSE)
{