mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
remove checks for not longer used PEAR Mail_Mime and Mail_mimeDecode classes
This commit is contained in:
parent
ef90797b7e
commit
6b2c47a98e
@ -429,12 +429,7 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
|
|||||||
debugLog("IMAP-SendMail: " . (isset($rfc822) ? $rfc822 : ""). "task: ".(isset($smartdata['task']) ? $smartdata['task'] : "")." itemid: ".(isset($smartdata['itemid']) ? $smartdata['itemid'] : "")." folder: ".(isset($smartdata['folderid']) ? $smartdata['folderid'] : ""));
|
debugLog("IMAP-SendMail: " . (isset($rfc822) ? $rfc822 : ""). "task: ".(isset($smartdata['task']) ? $smartdata['task'] : "")." itemid: ".(isset($smartdata['itemid']) ? $smartdata['itemid'] : "")." folder: ".(isset($smartdata['folderid']) ? $smartdata['folderid'] : ""));
|
||||||
if ($this->debugLevel>0) debugLog("IMAP-Sendmail: Smartdata = ".array2string($smartdata));
|
if ($this->debugLevel>0) debugLog("IMAP-Sendmail: Smartdata = ".array2string($smartdata));
|
||||||
//error_log("IMAP-Sendmail: Smartdata = ".array2string($smartdata));
|
//error_log("IMAP-Sendmail: Smartdata = ".array2string($smartdata));
|
||||||
// if we cannot decode the mail in question, fail
|
|
||||||
if (class_exists('Mail_mimeDecode',false)==false && (@include_once 'Mail/mimeDecode.php') === false)
|
|
||||||
{
|
|
||||||
debugLog("IMAP-SendMail: Could not find Mail_mimeDecode.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// initialize our mail_bo
|
// initialize our mail_bo
|
||||||
if (!isset($this->mail)) $this->mail = mail_bo::getInstance(false,self::$profileID,true,false,true);
|
if (!isset($this->mail)) $this->mail = mail_bo::getInstance(false,self::$profileID,true,false,true);
|
||||||
$activeMailProfiles = $this->mail->getAccountIdentities(self::$profileID);
|
$activeMailProfiles = $this->mail->getAccountIdentities(self::$profileID);
|
||||||
|
@ -61,13 +61,6 @@ $setup_info['mail']['check_install'] = array(
|
|||||||
'func' => 'pear_check',
|
'func' => 'pear_check',
|
||||||
'version' => '1.6.0', // otherwise install of Mail_Mime fails!
|
'version' => '1.6.0', // otherwise install of Mail_Mime fails!
|
||||||
),
|
),
|
||||||
'Mail_Mime' => array(
|
|
||||||
'func' => 'pear_check',
|
|
||||||
'version' => '1.4.1',
|
|
||||||
),
|
|
||||||
'Mail_mimeDecode' => array(
|
|
||||||
'func' => 'pear_check',
|
|
||||||
),
|
|
||||||
'magic_quotes_gpc' => array(
|
'magic_quotes_gpc' => array(
|
||||||
'func' => 'php_ini_check',
|
'func' => 'php_ini_check',
|
||||||
'value' => 0,
|
'value' => 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user