From: Michael M Slusarz Date: Tue, 25 Nov 2008 05:47:00 +0000 (-0700) Subject: Fix some IMP_Compose calls. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11fc1f158021f23100ede3664046adcc2b9e7f43;p=horde.git Fix some IMP_Compose calls. --- 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()); } }