X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FBAO%2FSpool.php;h=18907022d05cfda80c0a26d12d3a9ef56378c4ed;hb=0479b4c8095005abb475f17c243d9ea4613db58c;hp=be89640321dbd4eadfc98988bcec3a6580783320;hpb=39de6fd54b9843705d13cb9f70fbcc6296103670;p=civicrm-core.git diff --git a/CRM/Mailing/BAO/Spool.php b/CRM/Mailing/BAO/Spool.php index be89640321..18907022d0 100644 --- a/CRM/Mailing/BAO/Spool.php +++ b/CRM/Mailing/BAO/Spool.php @@ -37,7 +37,7 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { /** * Class constructor */ - function __construct() { + public function __construct() { parent::__construct(); } @@ -45,9 +45,11 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { * Store Mails into Spool table. * * @param $recipient - * @param array $headers The string of headers to send with the mail. + * @param array $headers + * The string of headers to send with the mail. * - * @param string $body The full text of the message body, including any + * @param string $body + * The full text of the message body, including any. * Mime parts, etc. * * @param int $job_id @@ -61,9 +63,8 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { * @return mixed Returns true on success, or a CRM_Eore_Error * containing a descriptive error message on * failure. - * @access public */ - function send($recipient, $headers, $body, $job_id = null) { + public function send($recipient, $headers, $body, $job_id = null) { $headerStr = array(); foreach ($headers as $name => $value) { $headerStr[] = "$name: $value"; @@ -136,4 +137,3 @@ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { return TRUE; } } -