From: hickert Date: Wed, 10 Dec 2008 08:35:28 +0000 (+0000) Subject: Updated mail methods X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fe8033c0b90596ca09a3003673140497d2f17bd6;p=gosa.git Updated mail methods git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13225 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc b/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc index 89527213e..97f876c7f 100644 --- a/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc +++ b/gosa-plugins/kolab/personal/mail/kolab/class_mail-methods-kolab.inc @@ -3,9 +3,11 @@ class mailMethodKolab extends mailMethodCyrus { - /* Allow modification of account_ids for existing mail accounts */ - protected $modifyableMail = FALSE; + protected $modifyableMail = FALSE; + + /* Allow modification of the mail server attribute existing mail accounts */ + protected $modifyableServer = TRUE; /* Enforces same value for 'mail' as used for 'cn' */ protected $mailEqualsCN = TRUE; diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc b/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc index 4c81f9cfd..dc1bc39c8 100644 --- a/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc +++ b/gosa-plugins/mail/personal/mail/class_mail-methods-cyrus.inc @@ -8,7 +8,10 @@ class mailMethodCyrus extends mailMethod{ protected $quota_loaded = FALSE; /* Allow modification of account_ids for existing mail accounts */ - protected $modifyableMail = FALSE; + protected $modifyableMail = FALSE; + + /* Allow modification of the mail server attribute existing mail accounts */ + protected $modifyableServer = FALSE; /* Enforces same value for 'mail' as used for 'cn' */ protected $mailEqualsCN = FALSE; diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc index 7b4abf374..e59b30f12 100644 --- a/gosa-plugins/mail/personal/mail/class_mail-methods.inc +++ b/gosa-plugins/mail/personal/mail/class_mail-methods.inc @@ -4,7 +4,10 @@ class mailMethod{ /* Allow modification of account_ids for existing mail accounts */ - protected $modifyableMail = TRUE; + protected $modifyableMail = TRUE; + + /* Allow modification of the mail server attribute existing mail accounts */ + protected $modifyableServer = TRUE; /* Enforces same value for 'mail' as used for 'cn' */ protected $mailEqualsCN = FALSE; @@ -245,6 +248,12 @@ class mailMethod{ } + public function isModifyableServer() + { + return($this->modifyableServer); + } + + /*! \brief Returns TRUE if the action caused an error. @return Boolean TRUE on error else FALSE */