Skip to content

Commit 97fc072

Browse files
committed
Remove commented code and old todo
1 parent 12790e4 commit 97fc072

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Factory/Uploadable/MediaObjectFactory.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ public function createMediaObjects(object $object): ?ArrayCollection
7070
continue;
7171
}
7272

73-
// todo: the content URL perhaps will just be a public URL from the source/CDN instead of via this API download action
74-
// if ($filesystem instanceof TemporaryUrlGenerator) {
75-
// // $filesystem->temporaryUrl();
76-
// }
77-
7873
$urlGenerator = $this->urlGenerators->get($fieldConfiguration->urlGenerator);
7974
if (!$urlGenerator instanceof UploadableUrlGeneratorInterface) {
8075
throw new InvalidArgumentException(sprintf('The url generator provided must implement %s', UploadableUrlGeneratorInterface::class));

0 commit comments

Comments
 (0)