Fixed bug #11827: Update wizard adds _CACHEFILE to extList
authorRupert Germann <rupi@gmx.li>
Fri, 4 Sep 2009 08:18:15 +0000 (08:18 +0000)
committerRupert Germann <rupi@gmx.li>
Fri, 4 Sep 2009 08:18:15 +0000 (08:18 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5894 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/install/updates/class.tx_coreupdates_installsysexts.php

index 9a39bf6..f73060e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-09-04  Rupert Germann  <rupi@gmx.li>
 
        * Fixed bug #11868 (Follow-up to #11828): added forgotten file version/tca.php (thanks to Sven J├╝rgens)
+       * Fixed bug #11827: Update wizard adds _CACHEFILE to extList
 
 2009-09-04  Steffen Kamper  <info@sk-typo3.de>
 
index 2d8ac4a..fbb0ae8 100644 (file)
@@ -123,7 +123,12 @@ class tx_coreupdates_installsysexts {
         */
        function addExtToList(array $extKeys) {
                        // Get list of installed extensions and add this one.
-               $listArr = array_keys($GLOBALS['TYPO3_LOADED_EXT']);
+               $tmpLoadedExt = $GLOBALS['TYPO3_LOADED_EXT'];
+               if (isset($tmpLoadedExt['_CACHEFILE'])) {
+                       unset($tmpLoadedExt['_CACHEFILE']);
+               }
+
+               $listArr = array_keys($tmpLoadedExt);
                $listArr = array_merge($listArr, $extKeys);
 
                        // Implode unique list of extensions to load and return: