[TYPO3-core] RFC: #10043: removed deprecated functions
Martin Kutschker
masi-no at spam-typo3.org
Fri Jan 2 12:25:46 CET 2009
Dmitry Dulepov schrieb:
>
> 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);
Ah, a hard-core variant to the deprecation log ;) Though I wouldn't log
the full stack trace (just file and line number) for brevity.
Masi
More information about the TYPO3-team-core
mailing list