|
@@ 1040-1043 (lines=4) @@
|
| 1037 |
|
static $HierarchyDelimiter = null; |
| 1038 |
|
if (is_null($HierarchyDelimiter)) $HierarchyDelimiter = Cache::getCache(Cache::INSTANCE,'email','HierarchyDelimiter'.trim($GLOBALS['egw_info']['user']['account_id']),null,array(),60*60*24*5); |
| 1039 |
|
if ($_useCache===false) unset($HierarchyDelimiter[$this->icServer->ImapServerId]); |
| 1040 |
|
if (isset($HierarchyDelimiter[$this->icServer->ImapServerId])&&!empty($HierarchyDelimiter[$this->icServer->ImapServerId])) |
| 1041 |
|
{ |
| 1042 |
|
return $HierarchyDelimiter[$this->icServer->ImapServerId]; |
| 1043 |
|
} |
| 1044 |
|
$HierarchyDelimiter[$this->icServer->ImapServerId] = '/'; |
| 1045 |
|
try |
| 1046 |
|
{ |
|
@@ 1079-1080 (lines=2) @@
|
| 1076 |
|
//error_log(__METHOD__.' ('.__LINE__.') '.array2string($this->icServer->acc_folder_draft)); |
| 1077 |
|
//error_log(__METHOD__.' ('.__LINE__.') '.array2string($this->icServer->acc_folder_template)); |
| 1078 |
|
self::$specialUseFolders = $_specialUseFolders[$this->icServer->ImapServerId]; |
| 1079 |
|
if (isset($_specialUseFolders[$this->icServer->ImapServerId]) && !empty($_specialUseFolders[$this->icServer->ImapServerId])) |
| 1080 |
|
return $_specialUseFolders[$this->icServer->ImapServerId]; |
| 1081 |
|
$_specialUseFolders[$this->icServer->ImapServerId]=array(); |
| 1082 |
|
//if (!empty($this->icServer->acc_folder_trash) && !isset($_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_trash])) |
| 1083 |
|
$_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_trash]='Trash'; |