From ced14e2c150b1d4dba62b8dce9a243a0142da045 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 19 Aug 2009 13:56:35 +0000 Subject: [PATCH] "removed depricated calltime pass reference, it's unnecessary in these cases anyway" --- infolog/inc/class.infolog_ui.inc.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index e88b3c112b..2178b6b21d 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -5,7 +5,7 @@ * @link http://www.egroupware.org * @author Ralf Becker * @package infolog - * @copyright (c) 2003-6 by Ralf Becker + * @copyright (c) 2003-9 by Ralf Becker * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @version $Id$ */ @@ -479,7 +479,7 @@ class infolog_ui $action = $session['action']; $action_id = $session['action_id']; $action_title = $session['action_title']; - // no action -> try to restore the previous colfilter + // no action -> try to restore the previous colfilter $colfilter = $session['col_filter']; unset($session); } @@ -1385,13 +1385,13 @@ class infolog_ui $bofelamimail->openConnection(); $bofelamimail->reopen($attachment['folder']); - $mailcontent = self::get_mailcontent(&$bofelamimail,$attachment['uid'],$attachment['partID'],$attachment['folder']); + $mailcontent = self::get_mailcontent($bofelamimail,$attachment['uid'],$attachment['partID'],$attachment['folder']); //_debug_array($mailcontent['attachments']); foreach($mailcontent['attachments'] as $tmpattach => $tmpval) { $attachments[] = $tmpval; } - } + } else { $attachments[] = array( @@ -1417,7 +1417,7 @@ class infolog_ui $bofelamimail->openConnection(); $bofelamimail->reopen($mailbox); - $mailcontent = self::get_mailcontent(&$bofelamimail,$uid,$partid,$mailbox); + $mailcontent = self::get_mailcontent($bofelamimail,$uid,$partid,$mailbox); return $this->edit($this->bo->import_mail( $mailcontent['mailaddress'], @@ -1481,12 +1481,12 @@ class infolog_ui { foreach ($attachments as $num => $attachment) { - if ($attachment['mimeType'] == 'MESSAGE/RFC822') + if ($attachment['mimeType'] == 'MESSAGE/RFC822') { //_debug_array($bofelamimail->getMessageHeader($uid, $attachment['partID'])); //_debug_array($bofelamimail->getMessageBody($uid,'', $attachment['partID'])); //_debug_array($bofelamimail->getMessageAttachments($uid, $attachment['partID'])); - $mailcontent = self::get_mailcontent(&$bofelamimail,$uid,$attachment['partID']); + $mailcontent = self::get_mailcontent($bofelamimail,$uid,$attachment['partID']); $headdata =''; if ($mailcontent['headers']) { @@ -1501,7 +1501,7 @@ class infolog_ui //if ($mailcontent['headers']['ORGANIZATION']) $headdata .= lang('organization').': '.$mailcontent['headers']['ORGANIZATION']."\n"; if (!empty($headdata)) $headdata .= "--------------------------------------------------------\n"; } - if ($mailcontent['message']) + if ($mailcontent['message']) { $tempname =tempnam($GLOBALS['egw_info']['server']['temp_dir'],$GLOBALS['egw_info']['flags']['currentapp']."_"); $attachedMessages[] = array(