Skip to content

Commit

Permalink
Merge pull request #36 from mbrodala/patch-1
Browse files Browse the repository at this point in the history
Migrate last ResourceFactory pseudo factory usage
  • Loading branch information
ruudsilvrants authored Aug 15, 2022
2 parents 40e6ff2 + 79ea42a commit ef727dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Hooks/DefaultUploadFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function createUploadFolder($combinedFolderIdentifier): ?Folder
$fileProcessor->start($data);
$fileProcessor->processData();

$uploadFolder = ResourceFactory::getInstance()->getFolderObjectFromCombinedIdentifier(
$uploadFolder = GeneralUtility::makeInstance(ResourceFactory::class)->getFolderObjectFromCombinedIdentifier(
$combinedFolderIdentifier
);
return $uploadFolder;
Expand Down

0 comments on commit ef727dc

Please sign in to comment.