Fixed bug #16424: Unused variable in t3lib_Compressor (Thanks to Bjoern Pedersen)
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 16 Nov 2010 19:22:14 +0000 (19:22 +0000)
committerSteffen Gebert <steffen.gebert@typo3.org>
Tue, 16 Nov 2010 19:22:14 +0000 (19:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9407 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_compressor.php

index 2efce14..b8f2b12 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
 
        * Follow-up to #16403: Fixed inclusion of JS files in template.php (Thanks to Steffen Ritter)
        * Fixed bug #16336: tcaTree does only support IRRE foreign_field relation on "parentField" (Thanks to Steffen Ritter)
+       * Fixed bug #16424: Unused variable in t3lib_Compressor (Thanks to Bjoern Pedersen)
 
 2010-11-16  Ernesto Baschny  <ernst@cron-it.de>
 
index 08ca58e..4ca193c 100644 (file)
@@ -151,8 +151,6 @@ class t3lib_Compressor {
        public function compressCssFiles(array $cssFiles) {
                $filesAfterCompression = array();
                foreach ($cssFiles as $filename => $fileOptions) {
-                               // we remove BACK_PATH from $filename, so make it relative to TYPO3_mainDir
-                       $filenameFromMainDir = substr($filename, strlen($GLOBALS['BACK_PATH']));
                                // if compression is enabled
                        if ($fileOptions['compress']) {
                                $filesAfterCompression[$this->compressCssFile($filename)] = $fileOptions;