summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eadd444)
raw | patch | inline | side by side (parent: eadd444)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jul 2009 13:55:20 +0000 (13:55 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Jul 2009 13:55:20 +0000 (13:55 +0000) |
updating freeze tags
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13925 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13925 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc b/trunk/gosa-plugins/fai/admin/fai/class_FAI.inc
index d8a993859b41c02335bfb2c80fdf81cb7ce51906..9f0805f7f4b0acdba775c73fad286089952aeec7 100644 (file)
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) {