[BUGFIX] Reload ext_emconf.php after extension update
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / Utility / FileHandlingUtility.php
index 7ba6ab3..61dfb0c 100644 (file)
@@ -84,6 +84,7 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface {
                $this->createDirectoriesForExtensionFiles($directories, $extensionDir);
                $this->writeExtensionFiles($files, $extensionDir);
                $this->writeEmConfToFile($extensionData, $extensionDir, $extension);
+               $this->reloadPackageInformation($extensionData['extKey']);
        }
 
        /**
@@ -518,4 +519,11 @@ class FileHandlingUtility implements \TYPO3\CMS\Core\SingletonInterface {
                die;
        }
 
+       /**
+        * @param string $extensionKey
+        */
+       protected function reloadPackageInformation($extensionKey) {
+               $this->installUtility->reloadPackageInformation($extensionKey);
+       }
+
 }