Bug #66341 » FilemountUpdateWizard_create_processing_folders.patch
typo3_src/typo3/sysext/install/Classes/Updates/FilemountUpdateWizard.php 2015-03-17 15:07:19.000000000 +0100 → typo3_src/typo3/sysext/install/Classes/Updates/FilemountUpdateWizard.php 2015-04-10 10:47:32.294689462 +0200 | ||
---|---|---|
*/
|
||
use TYPO3\CMS\Backend\Utility\BackendUtility;
|
||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||
/**
|
||
* Upgrade wizard which checks all existing filemounts
|
||
... | ... | |
}
|
||
/**
|
||
* Performs the database update.
|
||
* Performs the database and folder update.
|
||
*
|
||
* @param array &$dbQueries Queries done in this update
|
||
* @param mixed &$customMessages Custom messages
|
||
... | ... | |
if (is_array($this->sqlQueries) && is_array($dbQueries)) {
|
||
$dbQueries = array_merge($dbQueries, $this->sqlQueries);
|
||
}
|
||
// initialize all processing folders
|
||
$storageRepository = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\StorageRepository');
|
||
$allStorages = $storageRepository->findAll();
|
||
foreach ($allStorages as $storage) {
|
||
$storage->getProcessingFolders();
|
||
}
|
||
$this->markWizardAsDone();
|
||
return TRUE;
|
||
}
|
- « Previous
- 1
- 2
- 3
- Next »