mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +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();
|
$foldersNameSpace = array();
|
||||||
$delimiter = $this->getHierarchyDelimiter();
|
$delimiter = $this->getHierarchyDelimiter();
|
||||||
// TODO: cache by $this->icServer->ImapServerId
|
// 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)) {
|
if (is_array($nameSpace)) {
|
||||||
foreach($nameSpace as $type => $singleNameSpace) {
|
foreach($nameSpace as $type => $singleNameSpace) {
|
||||||
$prefix_present = false;
|
$prefix_present = false;
|
||||||
|
@ -110,7 +110,7 @@ class mail_bopreferences extends mail_sopreferences
|
|||||||
$accountData = array_shift($accountData);
|
$accountData = array_shift($accountData);
|
||||||
//_debug_array($accountData);
|
//_debug_array($accountData);
|
||||||
|
|
||||||
$icServer = CreateObject('emailadmin.defaultimap');
|
$icServer = new emailadmin_oldimap();
|
||||||
$icServer->ImapServerId = $accountData['id'];
|
$icServer->ImapServerId = $accountData['id'];
|
||||||
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
||||||
$icServer->host = $accountData['ic_hostname'];
|
$icServer->host = $accountData['ic_hostname'];
|
||||||
@ -166,7 +166,7 @@ class mail_bopreferences extends mail_sopreferences
|
|||||||
#_debug_array($accountData);
|
#_debug_array($accountData);
|
||||||
foreach ($AllAccountData as $key => $accountData)
|
foreach ($AllAccountData as $key => $accountData)
|
||||||
{
|
{
|
||||||
$icServer = CreateObject('emailadmin.defaultimap');
|
$icServer = new emailadmin_oldimap();
|
||||||
$icServer->ImapServerId = $accountData['id'];
|
$icServer->ImapServerId = $accountData['id'];
|
||||||
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
$icServer->encryption = isset($accountData['ic_encryption']) ? $accountData['ic_encryption'] : 1;
|
||||||
$icServer->host = $accountData['ic_hostname'];
|
$icServer->host = $accountData['ic_hostname'];
|
||||||
|
@ -61,7 +61,7 @@ class mail_ui
|
|||||||
/**
|
/**
|
||||||
* instance of mail_bo
|
* instance of mail_bo
|
||||||
*
|
*
|
||||||
* @var object
|
* @var mail_bo
|
||||||
*/
|
*/
|
||||||
var $mail_bo;
|
var $mail_bo;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user