From d630d1c1575781c9f8e0ca82497e911de32b6d9e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 06:59:51 +0000 Subject: [PATCH] Removed debugging stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18701 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_configRegistry.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_configRegistry.inc b/gosa-core/include/class_configRegistry.inc index df9059f9f..597e7c9a9 100644 --- a/gosa-core/include/class_configRegistry.inc +++ b/gosa-core/include/class_configRegistry.inc @@ -97,13 +97,13 @@ class configRegistry{ $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"); } -- 2.30.2