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:
Ingo Schommer 2008-10-16 08:44:49 +00:00
parent 2d44f59816
commit bd1633d742

View File

@ -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 * Base class that email bounce handlers extend
* @package sapphire * @package sapphire