Merge branch '3.5' into 3

This commit is contained in:
Daniel Hensby 2017-01-17 11:59:17 +00:00
commit c082f778c5
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -322,7 +322,7 @@ class Email extends ViewableData {
/**
* Set the "Reply-To" header with an email address.
*
* @param string $val
* @param string $val The email address of the "Reply-To" header
* @return $this
*/
public function setReplyTo($val) {
@ -432,6 +432,7 @@ class Email extends ViewableData {
/**
* Used by {@link SSViewer} templates to detect if we're rendering an email template rather than a page template
* @return bool
*/
public function IsEmail() {
return true;