Code

Fixed problem with different folder name.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Oct 2006 05:59:15 +0000 (05:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Oct 2006 05:59:15 +0000 (05:59 +0000)
fixed - Remove complete group object failed.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4906 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/tabs_group.inc

index a4d0279dbd444368a4ab094b919d4a982f394eea..5753ba39a3e7c1394ae2c21bde5bf2a62540fb60 100644 (file)
@@ -30,6 +30,16 @@ class grouptabs extends tabs
                }
        }
 
+       function delete()
+       {
+               /* Put baseobjects 'cn' to mailobjects 'uid' */
+               $baseobject= $this->by_object['group'];
+               if (isset($this->by_object['mailgroup'])){
+                       $this->by_object['mailgroup']->uid= $baseobject->cn;
+               }
+               tabs::delete();
+       }
+
        function save()
        {
                $baseobject= $this->by_object['group'];