summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee0d98e)
raw | patch | inline | side by side (parent: ee0d98e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Jul 2008 12:41:46 +0000 (12:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 18 Jul 2008 12:41:46 +0000 (12:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11716 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiScript.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiScript.inc b/gosa-plugins/fai/admin/fai/class_faiScript.inc
index 35151bd137c446813cc58259c86455b7c8321658..a88e5d47ba2ba51035178c2e830ab063b8e72edb 100644 (file)
/* Read all leaf objects of this object (For FAIscript this would be FAIscriptEntry)
*/
- $res = FAI::get_all_objects_for_given_base($this->dn,"(&(objectClass=FAIclass)(objectClass=".$this->subClass."))");
- foreach($res as $obj){
-
- /* Skip not relevant objects */
- if(!preg_match("/".normalizePreg($this->dn)."$/i",$obj['dn'])) continue;
-
- $objects = array();
- $objects['status'] = "edited";
- $objects['dn'] = $obj['dn'];
- $objects = $this->get_object_attributes($objects,$this->subAttributes);
- $objects = $this->get_object_attributes($objects,$this->sub_Load_Later);
- $this->SubObjects[$objects['cn']] = $objects;
- }
+ $res = FAI::get_all_objects_for_given_base($this->dn,"(&(objectClass=FAIclass)(objectClass=".$this->subClass."))");
+ foreach($res as $obj){
+
+ /* Skip not relevant objects */
+ if(!preg_match("/".normalizePreg($this->dn)."$/i",$obj['dn'])) continue;
+
+ $objects = array();
+ $objects['status'] = "edited";
+ $objects['dn'] = $obj['dn'];
+ $objects = $this->get_object_attributes($objects,$this->subAttributes);
+ $objects = $this->get_object_attributes($objects,$this->sub_Load_Later);
+ $this->SubObjects[$objects['cn']] = $objects;
}
}