mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Removed deprecated Email_Template class, please use Email instead! (from r100503)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105583 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
16c93b1284
commit
07e3fb9879
@ -610,22 +610,6 @@ class Email extends ViewableData {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements an email template that can be populated.
|
||||
*
|
||||
* @deprecated 2.4 Please use Email 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