forked from extern/egroupware
remove preference notavailableautofolders and replace it with autocreation of the folder in question when accessed
This commit is contained in:
parent
acd782c287
commit
f53dcbe4af
@ -380,6 +380,7 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
|
|||||||
$this->_wasteID = $this->mail->getTrashFolder(false);
|
$this->_wasteID = $this->mail->getTrashFolder(false);
|
||||||
//error_log(__METHOD__.__LINE__.' TrashFolder:'.$this->_wasteID);
|
//error_log(__METHOD__.__LINE__.' TrashFolder:'.$this->_wasteID);
|
||||||
$this->_sentID = $this->mail->getSentFolder(false);
|
$this->_sentID = $this->mail->getSentFolder(false);
|
||||||
|
$this->mail->getOutboxFolder(true);
|
||||||
//error_log(__METHOD__.__LINE__.' SentFolder:'.$this->_sentID);
|
//error_log(__METHOD__.__LINE__.' SentFolder:'.$this->_sentID);
|
||||||
//error_log(__METHOD__.__LINE__.' Connection Status for ProfileID:'.self::$profileID.'->'.$this->mail->icServer->_connected);
|
//error_log(__METHOD__.__LINE__.' Connection Status for ProfileID:'.self::$profileID.'->'.$this->mail->icServer->_connected);
|
||||||
}
|
}
|
||||||
|
@ -124,10 +124,6 @@ class mail_hooks
|
|||||||
$mail_bo->closeConnection();
|
$mail_bo->closeConnection();
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
$availableAutoFolders['none'] = lang('none, create all');
|
|
||||||
foreach(mail_bo::$autoFolders as $aname) {
|
|
||||||
$availableAutoFolders[$aname] = lang($aname);
|
|
||||||
}
|
|
||||||
|
|
||||||
$mailConfig = config::read('mail');
|
$mailConfig = config::read('mail');
|
||||||
}
|
}
|
||||||
@ -549,16 +545,6 @@ class mail_hooks
|
|||||||
'admin' => False,
|
'admin' => False,
|
||||||
'forced' => '0',
|
'forced' => '0',
|
||||||
),*/
|
),*/
|
||||||
'notavailableautofolders' => array(
|
|
||||||
'type' => 'multiselect',
|
|
||||||
'label' => 'do not auto create folders',
|
|
||||||
'help' => 'which folders - in general - should NOT be automatically created, if not existing',
|
|
||||||
'name' => 'notavailableautofolders',
|
|
||||||
'values' => $availableAutoFolders,
|
|
||||||
'xmlrpc' => True,
|
|
||||||
'admin' => False,
|
|
||||||
'forced' => 'none',
|
|
||||||
),
|
|
||||||
'saveAsOptions' => array(
|
'saveAsOptions' => array(
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => 'Save as',
|
'label' => 'Save as',
|
||||||
|
Loading…
Reference in New Issue
Block a user