Merge pull request #9205 from wilr/pulls/add-upgrade-notes-for-email

Add missing upgrade rules for Email class
This commit is contained in:
Robbie Averill 2019-08-30 14:15:17 +12:00 committed by GitHub
commit 02194908e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1100,6 +1100,32 @@ warnings:
'SilverStripe\Control\Email\Email->setTemplate()':
message: 'Renamed to setHTMLTemplate()'
replacement: 'setHTMLTemplate'
'SilverStripe\Control\Email\Email->replyTo()':
message: 'Renamed to setReplyTo()'
replacement: 'setReplyTo'
'SilverStripe\Control\Email\Email->attachFile()':
message: 'Renamed to addAttachment()'
replacement: 'addAttachment'
'SilverStripe\Control\Email\Email->Subject()':
message: 'Renamed to getSubject()'
replacement: 'getSubject'
'SilverStripe\Control\Email\Email->Body()':
message: 'Renamed to getBody()'
replacement: 'getBody'
'SilverStripe\Control\Email\Email->From()':
message: 'Renamed to getFrom()'
replacement: 'getFrom'
'SilverStripe\Control\Email\Email->To()':
message: 'Renamed to getTo()'
replacement: 'getTo'
'SilverStripe\Control\Email\Email->Cc()':
message: 'Renamed to getCc()'
replacement: 'getCc'
'SilverStripe\Control\Email\Email->Bcc()':
message: 'Renamed to getBcc()'
replacement: 'getBcc'
'SilverStripe\Control\Email\Email->addCustomHeader()':
message: 'addCustomHeader() is removed'
'SilverStripe\i18n\i18n::get_language_name()':
message: 'moved to SilverStripe\i18n\Data\Locales::languageName()'
replacement: 'getData()->languageName'