Code

Updated mail methods.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Jul 2009 10:45:17 +0000 (10:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Jul 2009 10:45:17 +0000 (10:45 +0000)
-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

index e7b94b3734c4a6f2b314fb1f2e16151d3d35054d..30d31cecf675c0d6f7eeafb6af647885ba03801f 100644 (file)
@@ -161,6 +161,12 @@ class mailMethod{
           "<b>MAIL:</b> 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__, "<i>".$tmp."</i>",
+          "<b>MAIL:</b> Shared folder prefix set to");
+      $this->gosaSharedPrefix = $tmp;
+    }
 
     $this->build_account_id();
     $this->initial_account_id = $this->account_id;