[BUGFIX] Update extension must invalidate autoloader cache
authorPhilipp Gampe <forge.typo3.org@philippgampe.info>
Fri, 17 Feb 2012 13:51:50 +0000 (14:51 +0100)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 17 Feb 2012 19:07:47 +0000 (20:07 +0100)
Change-Id: I09f30461e9c5ac1749df3daa39f8d5e4e12161c0
Fixes: #33895
Releases: 4.5,4.6,4.7
Reviewed-on: http://review.typo3.org/9015
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/em/classes/install/class.tx_em_install.php

index 80f1f29..fc202b6 100644 (file)
@@ -262,6 +262,8 @@ class tx_em_Install {
                                                                                                if (t3lib_extMgm::removeCacheFiles()) {
                                                                                                        $messageContent .= $GLOBALS['LANG']->getLL('ext_import_cache_files_removed') . '<br />';
                                                                                                }
+                                                                                                       // Flush autoloader cache
+                                                                                               $GLOBALS['typo3CacheManager']->getCache('cache_phpcode')->flushByTag('t3lib_autoloader');
 
                                                                                                list($new_list) = $this->parentObject->extensionList->getInstalledExtensions();
                                                                                                $updateContent = $this->updatesForm($extKey, $new_list[$extKey], 1, t3lib_div::linkThisScript(array(