index 0c4fa51df2effc68ff5c0c9a0b2c13b199f3a09a..968561d7ee613794043a01229821c00352141fdc 100644 (file)
$ldap->search("(&(objectClass=FAIclass)(objectClass=".$this->subClass."))",$attrs_to_search);
while($object = $ldap->fetch()){
+
+ /* Skip objects, that are tagged as removed */
+ if(isset($object['FAIstate'][0])){
+ if(preg_match("/removed$/",$object['FAIstate'][0])){
+ continue;
+ }
+ }
+
/* Set status for save management */
$objects = array();
$objects['status'] = "FreshLoaded";
$tmp = $this->getList(true);
+ /* Create div list with all sub entries listed */
foreach($this->SubObjects as $key => $name){
+ /* Skip removed entries */
+ if($name['status'] == "delete") continue;
+
+ /* Get permissions */
$dn = $this->acl_base_for_current_object($name['dn']);
$acl = $this->ui->get_permissions($dn,"fai/faiTemplateEntry") ;
$act = "";