summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a9cc0e)
raw | patch | inline | side by side (parent: 4a9cc0e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 06:59:51 +0000 (06:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 06:59:51 +0000 (06:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18701 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_configRegistry.inc | patch | blob | history |
diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc
index df9059f9f7df9ca37b5c02a64f47548a3b58e032..597e7c9a924410fc601f1fba8de8942f1a49d09a 100644 (file)
$failure = FALSE;
if(isset($requirements['ldapSchema'])){
foreach($requirements['ldapSchema'] as $oc => $version){
- if(rand(0,5)==1 || !$this->ocAvailable($oc)){
+ if(!$this->ocAvailable($oc)){
$this->detectedSchemaIssues['missing'][] = $oc;
$this->schemaCheckFailed = TRUE;
$failure = TRUE;
}elseif(!empty($version)){
$currentVersion = $this->getObjectClassVersion($oc);
- if(1 || !empty($currentVersion) && !$this->ocVersionMatch($version, $currentVersion)){
+ if(!empty($currentVersion) && !$this->ocVersionMatch($version, $currentVersion)){
if($currentVersion == -1){
$currentVersion = _("unknown");
}