From: psc Date: Mon, 13 Jul 2009 13:55:20 +0000 (+0000) Subject: Removed check for object presence when X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0ccffbaf27a8463ab92ff56f8cc1d210792e1f9;p=gosa.git Removed check for object presence when updating freeze tags git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13925 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc b/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc index d8a993859..9f0805f7f 100644 --- a/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -518,14 +518,10 @@ class FAI if(!empty($r)){ foreach($r as $key ){ - /* Only update the freeze tag if the entry actually exists. */ - $ldap->cat($key); - if($ldap->count()){ - /* Append FAIstate tag to ensure that freezed objects stay freezed - */ - $rTag = FAI::get_release_tag(FAI::get_release_dn($key)); - $parent_attrs['FAIstate'] = $rTag; - } + /* Append FAIstate tag to ensure that freezed objects stay freezed + */ + $rTag = FAI::get_release_tag(FAI::get_release_dn($key)); + $parent_attrs['FAIstate'] = $rTag; /* Don't copy over subobjects in subreleases if their parent is in "removed" state */ if(!FAI::parent_is_removed($key)){ if(DEBUG_FAI_FUNC) {