Skip to content

Commit

Permalink
FEATURE: AssetUsage as CatchUpHook
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Sep 23, 2024
1 parent 67a8dae commit 5b783ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Neos.Neos/Classes/Service/ImageVariantGarbageCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public function removeUnusedImageVariant(Node $node, $propertyName, $oldValue, $
// then we are safe to remove the asset here.
if (
$usageItem instanceof AssetUsageReference
/** @phpstan-ignore-next-line todo needs repair see https://github.com/neos/neos-development-collection/issues/5145 */
&& $usageItem->getWorkspaceName()->equals($node->workspaceName)
&& $usageItem->getOriginDimensionSpacePoint()->equals($node->originDimensionSpacePoint)
&& $usageItem->getNodeAggregateId()->equals($node->aggregateId)
Expand Down

0 comments on commit 5b783ef

Please sign in to comment.