Index: t3lib/class.t3lib_basicfilefunc.php =================================================================== --- t3lib/class.t3lib_basicfilefunc.php (Revision 5524) +++ t3lib/class.t3lib_basicfilefunc.php (Arbeitskopie) @@ -490,8 +490,11 @@ * * @param integer Bytes to be formated * @return string Formatted with M,K or    appended. + * @deprecated since at least TYPO3 4.2 - Use t3lib_div::formatSize() instead */ function formatSize($sizeInBytes) { + t3lib_div::logDeprecatedFunction(); + if ($sizeInBytes>900) { if ($sizeInBytes>900000) { // MB $val = $sizeInBytes/(1024*1024); Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (Revision 5524) +++ typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) @@ -3404,7 +3404,7 @@ if ($conf['age']){$content=$this->calcAge(time()-$content,$conf['age']);} if ($conf['case']){$content=$this->HTMLcaseshift($content, $conf['case']);} - if ($conf['bytes']){$content=$this->bytes($content,$conf['bytes.']['labels']);} + if ($conf['bytes']){$content=t3lib_div::formatSize($content, $conf['bytes.']['labels']);} if ($conf['substring']){$content=$this->substring($content,$conf['substring']);} if ($conf['removeBadHTML']) {$content = $this->removeBadHTML($content, $conf['removeBadHTML.']);} if ($conf['stripHtml']){$content = strip_tags($content);} @@ -6179,6 +6179,8 @@ * @deprecated since TYPO3 3.6 - Use t3lib_div::formatSize() instead */ function bytes($sizeInBytes,$labels) { + t3lib_div::logDeprecatedFunction(); + return t3lib_div::formatSize($sizeInBytes,$labels); } @@ -6265,6 +6267,8 @@ * @deprecated since TYPO3 3.6 - Use t3lib_div::validEmail() instead */ function checkEmail($email) { + t3lib_div::logDeprecatedFunction(); + return t3lib_div::validEmail($email); }