From: hickert Date: Tue, 9 Dec 2008 10:58:24 +0000 (+0000) Subject: Do not allow to remove groups with kolab accounts X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b918ec3d75af999e66a00d8cedbff953ea1306da;p=gosa.git 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 --- 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: