From: hickert Date: Wed, 26 May 2010 06:59:51 +0000 (+0000) Subject: Removed debugging stuff X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d630d1c1575781c9f8e0ca82497e911de32b6d9e;p=gosa.git Removed debugging stuff git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18701 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"); }