Code

Removed multi-objectclass dependency. There's a more easy way to do this.
[gosa.git] / plugins / personal / connectivity / class_kolabAccount.inc
index 6fcbd06f9e8a6f6353c05b18d57a7d89a596d99f..9f08ea9110e4bdad8c1c550f80f08d79ec042c9e 100644 (file)
@@ -5,11 +5,6 @@ class kolabAccount extends plugin
   var $plHeadline       = "Kolab";
   var $plDescription    = "This does something";
 
-  /* CLI vars */
-  var $cli_summary      = "Manage users Kolab account";
-  var $cli_description  = "Some longer text\nfor help";
-  var $cli_parameters   = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
   /* Kolab attributes */
   var $kolabInvitationPolicy  = array();
   var $kolabFreeBusyFuture    = 60;
@@ -406,6 +401,19 @@ class kolabAccount extends plugin
     $this->is_modified= TRUE;
   }
 
+
+  /* Return plugin informations for acl handling  */
+  function plInfo()
+  {
+    return (array(     
+          "plDescription"         => _("Koalb account settings"),
+          "plSelfModify"          => TRUE,
+          "plDepends"             => array("objectClass" => "gosaAccount"),
+          "kolabFreeBusyFuture"   => _("Free busy future"),
+          "unrestrictedMailSize"  => _("Mail size restriction"),
+          "calFBURL"              => _("Free busy information"),
+          "kolabDelegate"         => _("Delegations")));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: