Permalink
Browse files

=Removed assignment from method arguments

  • Loading branch information...
1 parent 990ff0c commit b93603e7b2b131aa6417693ae7159a663b1fb978 @richardmiller richardmiller committed May 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 code/LoggingMailer.php
View
@@ -18,7 +18,7 @@ class LoggingMailer extends Mailer{
function sendPlain($to, $from, $subject, $plainContent, $attachedFiles = false, $customheaders = false) {
- if ( parent::sendPlain($to, $from, $subject, $plainContent, $attachedFiles = false, $customheaders = false) ) {
+ if ( parent::sendPlain($to, $from, $subject, $plainContent, $attachedFiles, $customheaders) ) {
$log = new MailLog();
$log->To = $to;
$log->From = $from;
@@ -41,7 +41,7 @@ function sendPlain($to, $from, $subject, $plainContent, $attachedFiles = false,
*/
function sendHTML($to, $from, $subject, $htmlContent, $attachedFiles = false, $customheaders = false, $plainContent = false, $inlineImages = false) {
- if (parent::sendHTML($to, $from, $subject, $htmlContent, $attachedFiles = false, $customheaders = false, $plainContent = false, $inlineImages = false) ) {
+ if (parent::sendHTML($to, $from, $subject, $htmlContent, $attachedFiles, $customheaders, $plainContent, $inlineImages) ) {
$log = new MailLog();
$log->To = $to;
$log->From = $from;
@@ -54,4 +54,4 @@ function sendHTML($to, $from, $subject, $htmlContent, $attachedFiles = false, $c
}
}
-}
+}

0 comments on commit b93603e

Please sign in to comment.