[TYPO3-core] FYI #16424: Unused variable in t3lib_Compressor (Thanks to Bjoern Pedersen)

Steffen Gebert steffen at steffen-gebert.de
Tue Nov 16 20:24:24 CET 2010


The following change has been committed in rev. 9407

Type: Cleanup

Bugtracker reference:
http://bugs.typo3.org/view.php?id=16424

Branches:
trunk

Problem:
t3lib_Compressor::compressCssFiles() contains the following line:
 > $filenameFromMainDir = substr($filename,
 >   strlen($GLOBALS['BACK_PATH']));

However, this variable is never read.

Solution:
remove it

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16424.diff
Type: text/x-diff
Size: 685 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101116/0a91c9dd/attachment.diff>


More information about the TYPO3-team-core mailing list