summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a58f412)
raw | patch | inline | side by side (parent: a58f412)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 07:26:15 +0000 (07:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 22 Jun 2006 07:26:15 +0000 (07:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3864 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc
index 64d631deb83355f3e6e9d874f50cdac520e24764..ed1216cdf019388fbdbee7ffea12a2793fa8a2f5 100644 (file)
function must_be_tagged()
{
+ if((isset($this->attrs['gosaUnitTag'][0])) && ($this->is_administrational_unit)){
+ $this->must_be_tagged = false;
+ }elseif((!isset($this->attrs['gosaUnitTag'][0])) && (!$this->is_administrational_unit)){
+ $this->must_be_tagged = false;
+ }else{
+ $this->must_be_tagged = true;
+ }
return $this->must_be_tagged;
}
}
show_ldap_error($ldap->get_error(), _("Saving department failed"));
- /* The parameter forces only to set must_be_tagged, and don't touch any objects
- This will be done later */
- $this->tag_objects(true);
-
/* Optionally execute a command after we're done */
$this->postcreate();
return(true);