mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
skip querying imap-server for SPECIAL-USE Folders on openConnection as we assume our wizard already detected the folders correctly
This commit is contained in:
parent
2a55cfd281
commit
5c460201f0
@ -883,7 +883,8 @@ class mail_bo
|
||||
//error_log(__METHOD__.__LINE__);
|
||||
try
|
||||
{
|
||||
$ret = $this->icServer->getSpecialUseFolders();
|
||||
// do not query IMAP Server for SPECIAL-USE Folders, as we assume thev wizard already did that
|
||||
$ret = null;//$this->icServer->getSpecialUseFolders();
|
||||
} catch (Exception $e)
|
||||
{
|
||||
$ret=null;
|
||||
@ -891,6 +892,10 @@ class mail_bo
|
||||
if (empty($ret))
|
||||
{
|
||||
$_specialUseFolders[$this->icServer->ImapServerId]=array();
|
||||
if (!empty($this->icServer->acc_folder_trash)) $_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_trash]='Trash';
|
||||
if (!empty($this->icServer->acc_folder_drafts)) $_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_draft]='Drafts';
|
||||
if (!empty($this->icServer->acc_folder_sent)) $_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_sent]='Sent';
|
||||
if (!empty($this->icServer->acc_folder_templates)) $_specialUseFolders[$this->icServer->ImapServerId][$this->icServer->acc_folder_template]='Templates';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user