[TYPO3-english] Strange depreciation log behavior
Thomas Skierlo
pubtsk1 at pix-pro.eu
Wed Sep 12 12:12:30 CEST 2012
With TYPO3 4.7.4 my depreciation log is flooded with:
12-09-12 11:48:
t3lib_div::int_from_ver() - since TYPO3 4.6, will be removed in TYPO3
6.1 - Use
t3lib_utility_VersionNumber::convertVersionNumberToInteger() instead
- require(ypo3/init.php),ypo3/ajax.php#55 //
require(3lib/config_default.php),ypo3/init.php#201 //
require(typo3conf/temp_CACHED_ps0e32_ext_localconf.php),3lib/config_default.php#1086
// t3lib_div::int_from_ver#1466 //
t3lib_div::logDeprecatedFunction#888 (3lib/class.t3lib_div.php#885)
The only occurrance of "t3lib_div::int_from_ver()" on my dev. server is
within Ext.: PHPUnit 3.6.11, and the usage looks perfectly ok to me:
/**
* Computes the current TYPO3 version and returns it.
*
* @return integer
*/
protected function getCurrentTypo3Version() {
return class_exists('t3lib_utility_VersionNumber')
? t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version)
: t3lib_div::int_from_ver(TYPO3_version);
}
Any ideas?
Thomas
More information about the TYPO3-english
mailing list