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:
Sean Harvey 2010-03-04 08:25:22 +00:00 committed by Sam Minnee
parent 972ac38137
commit f4e8817e83

View File

@ -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