CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #37897

get Ready for TYPO3 4.7 (new Mail API and t3lib_div::rm_endcomma)

Added by Jonas Götze 11 months ago. Updated 11 months ago.

Status:Resolved Start date:2012-06-11
Priority:Should have Due date:
Assignee:Christian Buelter % Done:

0%

Category:Plugin pi1
Target version:-
Votes: 0

Description

Since TYPO3 version 4.7 the deprecated Mail API (t3lib_htmlmail) has been removed, which breaks the functionality of this extension.
Since TYPO3 4.5 the new one (t3lib_mail_Message) should be used.
see http://buzz.typo3.org/article/your-first-blog/

To ensure its still working with TYPO3 Versions < 4.5 I made a patch which checks the TYPO3 version and uses the available Mail API then.

Furthermore I replaced the deprecated(removed in v4.7) Function t3lib_div::rm_endcomma($changedInternalFields); with rtrim($changedInternalFields,',');

Regards

class.tx_ketroubletickets_pi1.php.patch (5.1 kB) Jonas Götze, 2012-06-11 15:10

History

Updated by Christian Buelter 11 months ago

  • Status changed from New to Resolved

thanks for your patch, it's been applied to trunk, will be in upcoming version 1.4.

Also available in: Atom PDF