Skip to content

Commit

Permalink
Merge pull request #39 from TYPO3GmbH/rector-up-to-typo3v11
Browse files Browse the repository at this point in the history
Fully rector up to TYPO3v11
  • Loading branch information
mbrodala authored Mar 25, 2024
2 parents c3818b5 + 2be07e0 commit 15b8f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
9 changes: 2 additions & 7 deletions Tests/Functional/FunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,8 @@ protected function cleanUpFilesAndRelatedRecords()
foreach ($files as $file) {
$storage->deleteFile($file);
$recordsToDelete['sys_file'][] = $file->getUid();
if (method_exists($file, 'getMetaData')) {
$metadata = $file->getMetaData();
} else {
// @extensionScannerIgnoreLine
$metadata = $file->_getMetaData();
}
$recordsToDelete['sys_file_metadata'][] = (int)$metadata['uid'];
$fileMetadata = $file->getMetaData()->get();
$recordsToDelete['sys_file_metadata'][] = (int)$fileMetadata['uid'];
}
} catch (\Exception) {
// sometimes, there is no folder to empty. Let's ignore that.
Expand Down
3 changes: 0 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
],
],
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => 'typo3temp/file_variants_uploads',
'clearCacheOnLoad' => 1,
'author' => 'Anja Leichsenring',
'author_email' => '[email protected]',
'author_company' => 'TYPO3 GmbH',
Expand Down

0 comments on commit 15b8f51

Please sign in to comment.