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!
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100503 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
972ac38137
commit
f4e8817e83
@ -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
|
* Base class that email bounce handlers extend
|
||||||
* @package sapphire
|
* @package sapphire
|
||||||
|
Loading…
Reference in New Issue
Block a user