Skip to content
Snippets Groups Projects
Commit 122b5adb authored by Helmut Hummel's avatar Helmut Hummel Committed by Wouter Wolters
Browse files

[BUGFIX] Let Extension Manager API also create folders

The API method added in for #70606 does not
create extension folders, which makes the API
incomplete and more or less useless.

Move the method call to create the folder into the API method.
Although the creation is done later then, the code in question
didn't need the folders anyway.

Resolves: #78631
Related: #70606
Releases: master, 7.6
Change-Id: I17b3527cd2c26e0bb1bdfedcb68dc7ae6064500d
Reviewed-on: https://review.typo3.org/50561


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Tested-by: default avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 960f0ae8
Branches
Tags
No related merge requests found
......@@ -181,7 +181,6 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface
public function install($extensionKey)
{
$extension = $this->enrichExtensionWithDetails($extensionKey, false);
$this->ensureConfiguredDirectoriesExist($extension);
$this->loadExtension($extensionKey);
if (!empty($extension['clearcacheonload']) || !empty($extension['clearCacheOnLoad'])) {
$this->cacheManager->flushCaches();
......@@ -199,7 +198,8 @@ class InstallUtility implements \TYPO3\CMS\Core\SingletonInterface
*/
public function processExtensionSetup($extensionKey)
{
$extension = $this->getExtensionArray($extensionKey);
$extension = $this->enrichExtensionWithDetails($extensionKey, false);
$this->ensureConfiguredDirectoriesExist($extension);
$this->importInitialFiles($extension['siteRelPath'], $extensionKey);
$this->processDatabaseUpdates($extension);
$this->processRuntimeDatabaseUpdates($extensionKey);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment