mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
adding trace to error_log tracking access to old PHPMailer properties
This commit is contained in:
parent
2e5fcbda4e
commit
f71bfe32e0
@ -631,7 +631,7 @@ class egw_mailer extends Horde_Mime_Mail
|
||||
!$this->is_html ? $this->setHtmlBody($value, null, false) : $this->setBody($value);
|
||||
break;
|
||||
default:
|
||||
error_log(__METHOD__."('$name', ".array2string($value).") unsupported attribute '$name' --> ignored");
|
||||
error_log(__METHOD__."('$name', ".array2string($value).") unsupported attribute '$name' --> ignored ".function_backtrace());
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -654,7 +654,7 @@ class egw_mailer extends Horde_Mime_Mail
|
||||
$body = $this->findBody($name == 'Body' ? 'plain' : 'html');
|
||||
return $body ? $body->getContents() : null;
|
||||
}
|
||||
error_log(__METHOD__."('$name') unsupported attribute '$name' --> returning NULL");
|
||||
error_log(__METHOD__."('$name') unsupported attribute '$name' --> returning NULL ".function_backtrace());
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user