summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 28c3586)
raw | patch | inline | side by side (parent: 28c3586)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 07:46:55 +0000 (07:46 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 07:46:55 +0000 (07:46 +0000) |
In FAI::get_all_objects_for_a_given_base change the regex
to determine if a given object is in removed state from
'/removed$/' to '/removed/'. This makes it possible to determine
the removed state on packages with the state "|removed|freeze".
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17449 594d385d-05f5-0310-b6e9-bd551577e9d8
to determine if a given object is in removed state from
'/removed$/' to '/removed/'. This makes it possible to determine
the removed state on packages with the state "|removed|freeze".
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17449 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 1d2ead0c1e8c258ecfc7415f501b4f49c0ea2e69..c3005f198be79b6f83cc2ce2fffda6aecd5f79eb 100644 (file)
$name = preg_replace("/".preg_quote($release, '/')."/i","",$attr['dn']);
if(isset($attr['FAIstate'][0])){
- if(preg_match("/removed$/",$attr['FAIstate'][0])){
+ if(preg_match("/removed/",$attr['FAIstate'][0])){
if(isset($res[$name])){
unset($res[$name]);
}