From c88c4fea4cb6e9673980bb14a6b5cc66644fd3db Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Oct 2010 08:06:58 +0000 Subject: [PATCH] Updated class name for distribution lists git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19993 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/admin/ogroups/tabs_ogroups.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc index 1631afe0c..df5694788 100644 --- a/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc +++ b/gosa-core/plugins/admin/ogroups/tabs_ogroups.inc @@ -82,9 +82,9 @@ class ogrouptabs extends tabs $this->remove('mailogroup'); } } - if(class_available("DistributionList")){ - if(!preg_match("/U/",$objects) && isset($this->by_object['DistributionList'])){ - $this->remove('DistributionList'); + if(class_available("GroupwareDistributionList")){ + if(!preg_match("/U/",$objects) && isset($this->by_object['GroupwareDistributionList'])){ + $this->remove('GroupwareDistributionList'); } } @@ -159,12 +159,12 @@ class ogrouptabs extends tabs } } } - 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'); + if(class_available("GroupwareDistributionList")){ + if((preg_match("/U/",$objects))&&(!isset($this->by_object['GroupwareDistributionList']))){ + $this->by_name['GroupwareDistributionList']= _("Groupware"); + $this->by_object['GroupwareDistributionList']= new GroupwareDistributionList($this->config, $this->dn); + $this->by_object['GroupwareDistributionList']->parent= &$this; + $this->add('GroupwareDistributionList'); } } -- 2.30.2