From 11fc1f158021f23100ede3664046adcc2b9e7f43 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 24 Nov 2008 22:47:00 -0700 Subject: [PATCH] Fix some IMP_Compose calls. --- imp/lib/Spam.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/imp/lib/Spam.php b/imp/lib/Spam.php index 5d8f6c78c..d0de76ce5 100644 --- a/imp/lib/Spam.php +++ b/imp/lib/Spam.php @@ -18,7 +18,7 @@ class IMP_Spam * * @var IMP_Compose */ - protected $_imp_compose; + protected $_impCompose; /** * The IMP_Identity:: object used by the class. @@ -33,7 +33,7 @@ class IMP_Spam function __construct() { require_once 'Horde/Identity.php'; - $this->_imp_compose = &IMP_Compose::singleton(); + $this->_impCompose = &IMP_Compose::singleton(); $this->_identity = &Identity::singleton(array('imp', 'imp')); } @@ -121,7 +121,7 @@ class IMP_Spam } $this->_sendSpamReportMessage($action, $raw_msg); ++$email_msg_count; - } + } /* If a (not)spam bounce email address has been provided, use * it. */ @@ -133,7 +133,7 @@ class IMP_Spam } if ($to) { - $imp_headers = &$imp_contents->getHeaderOb(); + $imp_headers = $imp_contents->getHeaderOb(); $from_addr = $this->_identity->getFromAddress(); $imp_headers->addResentHeaders($from_addr, $to); @@ -145,7 +145,7 @@ class IMP_Spam $bodytext = $imp_contents->getBody(); - $this->_imp_compose->sendMessage($to, $imp_headers, $bodytext, NLS::getCharset()); + $this->_impCompose->sendMessage($to, $imp_headers, $bodytext, NLS::getCharset()); if (!$report_flag) { $report_msg_count++; } @@ -258,6 +258,6 @@ class IMP_Spam $action, $_SESSION['imp']['user'])); /* Send the message. */ - $this->_imp_compose->sendMessage($GLOBALS['conf'][$action]['email'], $spam_headers, $mime, NLS::getCharset()); + $this->_impCompose->sendMessage($GLOBALS['conf'][$action]['email'], $spam_headers, $mime, NLS::getCharset()); } } -- 2.11.0