[TYPO3-core] RFC: #10043: removed deprecated functions

Dmitry Dulepov dmitry at typo3.org
Fri Jan 2 12:19:38 CET 2009


Hi!

Steffen Kamper wrote:
> i collected all "deprecated" stuff from core and ordered by version.
> This can be used for completition/correction /publish for the "remove
> deprecated stuff strategy"

The following functions must stay at least in 4.3 because they are used in the extensions. Removing these functions will break commercial sites, so it is dangerous. Here is the list:

t3lib_div::array2xml
t3lib_matchCondition, hook
t3lib_div::GP*
class tslib_feTCE (keep it, we might update it for 4.4 to provide proper cache cleaning and record insertion in FE)
tslib_pibase::pi_list_query
t3lib_div::fixed_lgd

However we should force extension authors to update their extensions. I suggest to add a PHP warning to each such function:

	error_log('TYPO3 warning: function XYZ is deprecated and will be removed in TYPO3 4.5. Call stack: ' . print_r(debug_backtrace(), true), E_USER_WARNING);

This will force extension developers to use other functions but will not break sites (normally PHP error reporting must be turned off in production).

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/why_your_typo3_installation_can_be_slow/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book


More information about the TYPO3-team-core mailing list