summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81bbfd9)
raw | patch | inline | side by side (parent: 81bbfd9)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 7 Sep 2010 08:40:57 +0000 (08:40 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 7 Sep 2010 08:40:57 +0000 (08:40 +0000) |
Disallow usage of an existing FAI profile as name for a FAI class
created by copy and paste
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19541 594d385d-05f5-0310-b6e9-bd551577e9d8
created by copy and paste
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19541 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index c0114568aab192844a91429f03e9d619435b6b80..31c3aec890e89f6d37851207de302ed3c5aef74d 100644 (file)
}
$res = FAI::get_all_objects_for_given_base($base,"(|".$f.")",TRUE);
}else{
- $res = FAI::get_all_objects_for_given_base($base,"(objectClass=".$oc.")",TRUE);
+ $res = FAI::get_all_objects_for_given_base($base,"(|(objectClass=FAIprofile)(objectClass=".$oc."))",TRUE);
}
$delete = array();
$used = array();