index 0ad7dba9e40936965dea554b0fca6810835db848..c00c14dc3f78321aeffe666442f9c8c58dcac89c 100644 (file)
}
show_ldap_error($ldap->get_error(), _("Saving FAI hook base failed"));
- /* Do object tagging */
- $this->handle_object_tagging();
-
$ldap->cd($this->dn);
/* Prepare FAIscriptEntry to write it to ldap
}
}
+ /* Tag object */
+ $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+
if($obj['status'] == "delete"){
$ldap->cd($sub_dn);
$ldap->rmdir_recursive($sub_dn);
$this->handle_post_events("add");
show_ldap_error($ldap->get_error(), _("Saving FAI hook failed"));
}
- $this->handle_object_tagging($sub_dn, $this->gosaUnitTag);
}
}