Issue Task Closed

#28499Rework deprecation of t3lib_div::int_from_ver()

Xavier Perseguers 07/27/11, 09:43 updated 06/01/13, 14:45

Description

Deprecating t3lib_div::int_from_ver() in 4.6 leads to major developer annoyance because this method is used to switch to compatibility code for older versions of TYPO3 in extensions and a hocus-pocus is needed to prevent calling it if using 4.6.

Proposal:

- Keep it deprecated in 4.6 but activate deprecation log in 4.7 only => remove it in 4.9
- Backport t3lib_utility_Version::convertVersionNumberToInteger() – only this method – in 4.5 LTS but without refactoring code to use it, it is only there to help developers targetting only 4.5 and above to not use dirty code

Developers targetting versions before 4.5.x up to 4.6 and above still will have to use the hocus-pocus.

Reviews 2