Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Commit

Permalink
[BUGFIX] MathUtility compatibility fix
Browse files Browse the repository at this point in the history
Resolves: #54985
Resolves: #52003
  • Loading branch information
Dietrich Heise committed Jan 20, 2014
1 parent 6f1f2e6 commit fdfc9d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 46 deletions.
43 changes: 0 additions & 43 deletions Classes/Compatibility/MathUtility.php

This file was deleted.

2 changes: 1 addition & 1 deletion Classes/Resource/FileDelivery.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ protected function readfile_chunked($strFileName)
$bytes_sent += $chunksize;
ob_flush();
flush();
$this->logDownload(MathUtility::forceIntegerInRange($bytes_sent, 0, $this->fileSize));
$this->logDownload(\t3lib_div::intInRange($bytes_sent, 0, $this->fileSize,0));
}
return fclose($handle);
}
Expand Down
3 changes: 1 addition & 2 deletions Migrations/Code/CompatibilityClassAliasMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
return array(
'TYPO3\\CMS\\Core\\Utility\\GeneralUtility' => 't3lib_div',
'TYPO3\\CMS\\Core\\SingletonInterface' => 't3lib_Singleton',
'TYPO3\\CMS\\Frontend\\Utility\\EidUtility' => 'tslib_eidtools',
'TYPO3\\CMS\\Core\\Utility\\MathUtility' => 'Bitmotion\\NawSecuredl\\Compatibility\\MathUtility',
'TYPO3\\CMS\\Frontend\\Utility\\EidUtility' => 'tslib_eidtools'
);

?>

0 comments on commit fdfc9d5

Please sign in to comment.