Code

Updated user mail account plugin to support CYRUSUNIXSTYLE for a single <location...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Jan 2007 04:04:40 +0000 (04:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 8 Jan 2007 04:04:40 +0000 (04:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5470 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc

index 14ebe54577effe17b15d48c9ee7d65b2ce68edbc..a0bc50807778e1422b2199e5695595bace8f702c 100644 (file)
@@ -91,16 +91,16 @@ class mailAccount extends plugin
       }
     }
 
-    
     /* Create the account prefix  user. user/ 
        Preset folder prefix. Will change it later to respect
        altnamespace. */
     if (isset($this->config->current['CYRUSUNIXSTYLE']) && $this->config->current['CYRUSUNIXSTYLE'] == "true"){
       $this->folder_prefix= "user/";
+    }elseif (isset($this->config->data['MAIN']['CYRUSUNIXSTYLE']) && $this->config->data['MAIN']['CYRUSUNIXSTYLE'] == "true"){
+      $this->folder_prefix= "user/";
     } else {
       $this->folder_prefix= "user.";
     }
-
     
     /* This is not a new account, parse additional attributes */
     if (($dn != NULL) && ($dn != "new") && $this->is_account){