From b918ec3d75af999e66a00d8cedbff953ea1306da Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 9 Dec 2008 10:58:24 +0000 Subject: [PATCH] Do not allow to remove groups with kolab accounts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13201 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../mail/admin/groups/mail/class_groupMail.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index ade0f17f9..557537538 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -1206,6 +1206,16 @@ class mailgroup extends plugin } return($ret); } + + + function allow_remove() + { + $resason = ""; + if(!$this->mailMethod->allow_remove($reason)){ + return($reason); + } + return(""); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2