From 0f5e8d53bf74b42586f9179f1bc7a6cbedc20a28 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 20 Sep 2010 11:45:54 +0000 Subject: [PATCH] fix typo, remove unneeded instance of mailPreferences --- infolog/inc/class.infolog_ui.inc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index f7aaf37c54..2a832d63e1 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1496,8 +1496,8 @@ class infolog_ui //echo __METHOD__.'
'; //_debug_array($_attachments); $bofelamimail = CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset()); - $bopreferences =& $this->bofelamimail->bopreferences; //= CreateObject('felamimail.bopreferences'); - $preferences = $this->bopreferences->getPreferences(); + //$bopreferences =& $bofelamimail->bopreferences; //= CreateObject('felamimail.bopreferences'); + //$preferences =& $bofelamimail->mailPreferences; $bofelamimail->openConnection(); foreach ($_attachments as $attachment) { @@ -1538,7 +1538,6 @@ class infolog_ui //_debug_array($_to_emailAddress); $toaddr = array(); foreach(array('to','cc','bcc') as $x) if (is_array($_to_emailAddress[$x]) && !empty($_to_emailAddress[$x])) $toaddr = array_merge($toaddr,$_to_emailAddress[$x]); - //_debug_array($preferences); //_debug_array($attachments); $body = self::createHeaderInfoSection(array('FROM'=>$_to_emailAddress['from'], 'TO'=>(!empty($_to_emailAddress['to'])?implode(',',$_to_emailAddress['to']):null), @@ -1554,7 +1553,7 @@ class infolog_ui elseif ($uid && $mailbox) { $bofelamimail = CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset()); - $bopreferences =& $this->bofelamimail->bopreferences; //= CreateObject('felamimail.bopreferences'); + //$bopreferences =& $bofelamimail->bopreferences; //= CreateObject('felamimail.bopreferences'); $bofelamimail->openConnection(); $bofelamimail->reopen($mailbox);