From 61cdb60893fda7355513699c364083dd5f5b1de4 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 1 Jul 2009 10:45:17 +0000 Subject: [PATCH] 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 --- gosa-plugins/mail/personal/mail/class_mail-methods.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.30.2