From: hickert Date: Wed, 1 Jul 2009 10:45:17 +0000 (+0000) Subject: Updated mail methods. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61cdb60893fda7355513699c364083dd5f5b1de4;p=gosa.git Updated mail methods. -Allow to set gosaSharedPrefix in gosa.conf git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13867 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/class_mail-methods.inc b/gosa-plugins/mail/personal/mail/class_mail-methods.inc index e7b94b373..30d31cecf 100644 --- a/gosa-plugins/mail/personal/mail/class_mail-methods.inc +++ b/gosa-plugins/mail/personal/mail/class_mail-methods.inc @@ -161,6 +161,12 @@ class mailMethod{ "MAIL: Shared folder creation set to"); $this->share_id = $tmp; } + $tmp = $this->config->get_cfg_value("gosaSharedPrefix"); + if(!empty($tmp)){ + @DEBUG (DEBUG_MAIL, __LINE__, __FUNCTION__, __FILE__, "".$tmp."", + "MAIL: Shared folder prefix set to"); + $this->gosaSharedPrefix = $tmp; + } $this->build_account_id(); $this->initial_account_id = $this->account_id;