Code

Do not allow to remove groups with kolab accounts
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Dec 2008 10:58:24 +0000 (10:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Dec 2008 10:58:24 +0000 (10:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13201 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/groups/mail/class_groupMail.inc

index ade0f17f9c749d2fe033d9bae579e566edafc7a3..557537538018df33b001ed23116e26142efdc181 100644 (file)
@@ -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: