From 5b48c754fcdaf4783e9dbeb66f4676f0eabe6d66 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 20 Oct 2006 05:59:15 +0000 Subject: [PATCH] Fixed problem with different folder name. 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/admin/groups/tabs_group.inc b/plugins/admin/groups/tabs_group.inc index a4d0279db..5753ba39a 100644 --- a/plugins/admin/groups/tabs_group.inc +++ b/plugins/admin/groups/tabs_group.inc @@ -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']; -- 2.30.2