|
@@ 1059-1062 (lines=4) @@
|
| 1056 |
|
static $HierarchyDelimiter = null; |
| 1057 |
|
if (is_null($HierarchyDelimiter)) $HierarchyDelimiter = Cache::getCache(Cache::INSTANCE,'email','HierarchyDelimiter'.trim($GLOBALS['egw_info']['user']['account_id']),null,array(),60*60*24*5); |
| 1058 |
|
if ($_useCache===false) unset($HierarchyDelimiter[$this->icServer->ImapServerId]); |
| 1059 |
|
if (isset($HierarchyDelimiter[$this->icServer->ImapServerId])&&!empty($HierarchyDelimiter[$this->icServer->ImapServerId])) |
| 1060 |
|
{ |
| 1061 |
|
return $HierarchyDelimiter[$this->icServer->ImapServerId]; |
| 1062 |
|
} |
| 1063 |
|
$HierarchyDelimiter[$this->icServer->ImapServerId] = '/'; |
| 1064 |
|
try |
| 1065 |
|
{ |
|
@@ 1098-1099 (lines=2) @@
|
| 1095 |
|
//error_log(__METHOD__.' ('.__LINE__.') '.array2string($this->icServer->acc_folder_draft)); |
| 1096 |
|
//error_log(__METHOD__.' ('.__LINE__.') '.array2string($this->icServer->acc_folder_template)); |
| 1097 |
|
self::$specialUseFolders = $_specialUseFolders[$this->icServer->ImapServerId]; |
| 1098 |
|
if (isset($_specialUseFolders[$this->icServer->ImapServerId]) && !empty($_specialUseFolders[$this->icServer->ImapServerId])) |
| 1099 |
|
return $_specialUseFolders[$this->icServer->ImapServerId]; |
| 1100 |
|
$_specialUseFolders[$this->icServer->ImapServerId]=array(); |
| 1101 |
|
//if (!empty($this->icServer->acc_folder_trash) && !isset($_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_trash])) |
| 1102 |
|
$_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_trash]='Trash'; |