mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
first step to new Horde_Imap_Client based eMailAdmin classes for new mail app
This commit is contained in:
parent
c799aad6be
commit
fe2ef3ac1c
@ -759,7 +759,7 @@ class mail_bo
|
||||
$foldersNameSpace = array();
|
||||
$delimiter = $this->getHierarchyDelimiter();
|
||||
// TODO: cache by $this->icServer->ImapServerId
|
||||
if (is_null($nameSpace)) $nameSpace = $this->icServer->getNameSpaces();
|
||||
if (is_null($nameSpace)) $nameSpace = $this->icServer->getNameSpaceArray();
|
||||
if (is_array($nameSpace)) {
|
||||
foreach($nameSpace as $type => $singleNameSpace) {
|
||||
$prefix_present = false;
|
||||
|
@ -110,7 +110,7 @@ class mail_bopreferences extends mail_sopreferences
|
||||
$accountData = array_shift($accountData);
|
||||
//_debug_array($accountData);
|
||||
|
||||
$icServer = CreateObject('emailadmin.defaultimap');
|
||||
$icServer = new emailadmin_oldimap();
|
||||
$icServer->ImapServerId = $accountData['id'];
|
||||
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
||||
$icServer->host = $accountData['ic_hostname'];
|
||||
@ -166,7 +166,7 @@ class mail_bopreferences extends mail_sopreferences
|
||||
#_debug_array($accountData);
|
||||
foreach ($AllAccountData as $key => $accountData)
|
||||
{
|
||||
$icServer = CreateObject('emailadmin.defaultimap');
|
||||
$icServer = new emailadmin_oldimap();
|
||||
$icServer->ImapServerId = $accountData['id'];
|
||||
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
||||
$icServer->host = $accountData['ic_hostname'];
|
||||
|
@ -61,7 +61,7 @@ class mail_ui
|
||||
/**
|
||||
* instance of mail_bo
|
||||
*
|
||||
* @var object
|
||||
* @var mail_bo
|
||||
*/
|
||||
var $mail_bo;
|
||||
|
||||
@ -86,7 +86,7 @@ class mail_ui
|
||||
*/
|
||||
var $statusTypes = array(
|
||||
'any' => 'any status',// lang('any status')
|
||||
'flagged' => 'flagged', // lang('flagged')
|
||||
'flagged' => 'flagged', // lang('flagged')
|
||||
'unseen' => 'unread', // lang('unread')
|
||||
'answered' => 'replied', // lang('replied')
|
||||
'seen' => 'read', // lang('read')
|
||||
@ -1959,7 +1959,7 @@ unset($query['actions']);
|
||||
);
|
||||
*/
|
||||
$decodedPersonalName = $realName;
|
||||
/*
|
||||
/*
|
||||
if (!empty($decodedPersonalName)) {
|
||||
if($spacePos = strrpos($decodedPersonalName, ' ')) {
|
||||
$linkData['presets[n_family]'] = substr($decodedPersonalName, $spacePos+1);
|
||||
|
Loading…
Reference in New Issue
Block a user