mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Removed Email_Template, use Email
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64384 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2d44f59816
commit
bd1633d742
@ -465,23 +465,6 @@ class Email extends ViewableData {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements an email template that can be populated.
|
||||
*
|
||||
* @deprecated - Please use Email_Template instead!
|
||||
*
|
||||
* @package sapphire
|
||||
* @subpackage email
|
||||
*/
|
||||
class Email_Template extends Email {
|
||||
|
||||
public function __construct($from = null, $to = null, $subject = null, $body = null, $bounceHandlerURL = null, $cc = null, $bcc = null) {
|
||||
parent::__construct($from, $to, $subject, $body, $bounceHandlerURL, $cc, $bcc);
|
||||
user_error('Email_Template is deprecated. Please use Email instead.', E_USER_NOTICE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Base class that email bounce handlers extend
|
||||
* @package sapphire
|
||||
|
Loading…
Reference in New Issue
Block a user