Skip to content

Commit

Permalink
API CHANGE Removed deprecated Email_Template class, please use Email …
Browse files Browse the repository at this point in the history
…instead! (from r100503)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105583 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed May 25, 2010
1 parent 16c93b1 commit 07e3fb9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions email/Email.php
Expand Up @@ -610,22 +610,6 @@ public static function obfuscate($email, $method = 'visible') {
} }
} }


/**
* 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
Expand Down

0 comments on commit 07e3fb9

Please sign in to comment.