summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59c18b4)
raw | patch | inline | side by side (parent: 59c18b4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Oct 2010 09:47:02 +0000 (09:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Oct 2010 09:47:02 +0000 (09:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19969 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/ogroups/tabs_ogroups.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc
index a1c51dae4b1c8958ccc1118f67c68ca9e661af0e..1631afe0cdad7cf0053a6e4020f6ab475c8ac499 100644 (file)
$this->remove('mailogroup');
}
}
+ if(class_available("DistributionList")){
+ if(!preg_match("/U/",$objects) && isset($this->by_object['DistributionList'])){
+ $this->remove('DistributionList');
+ }
+ }
/* Remove terminal group, if theres no terminal left in the object list
*/
}
}
}
+ if(class_available("DistributionList")){
+ if((preg_match("/U/",$objects))&&(!isset($this->by_object['DistributionList']))){
+ $this->by_name['DistributionList']= _("Groupware");
+ $this->by_object['DistributionList']= new DistributionList($this->config, $this->dn);
+ $this->by_object['DistributionList']->parent= &$this;
+ $this->add('DistributionList');
+ }
+ }
/* Add Terminal tab */
if(class_available("termgroup")){