Code

Updated class name for distribution lists
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 08:06:58 +0000 (08:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 08:06:58 +0000 (08:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19993 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index 1631afe0cdad7cf0053a6e4020f6ab475c8ac499..df5694788e89b0b5d7995922e4b97f3412b9324e 100644 (file)
@@ -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');
             }
         }