Skip to content

Commit

Permalink
BUGFIX: Replace use of outdated getMd5() in S3Target
Browse files Browse the repository at this point in the history
This sneaked in via the "support skipping unpublishing of resources"
change.
  • Loading branch information
kdambekalns committed Aug 4, 2021
1 parent 5bff4f8 commit 4d582a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/S3Target.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function publishResource(PersistentResource $resource, CollectionInterfac
public function unpublishResource(PersistentResource $resource)
{
if ($this->unpublishResources === false) {
$this->systemLogger->debug(sprintf('Skipping resource unpublishing %s from bucket "%s", because configuration option "unpublishResources" is FALSE.', $resource->getMd5() ?: 'unknown', $this->bucketName));
$this->systemLogger->debug(sprintf('Skipping resource unpublishing %s from bucket "%s", because configuration option "unpublishResources" is FALSE.', $resource->getSha1() ?: 'unknown', $this->bucketName));
return;
}

Expand Down

0 comments on commit 4d582a0

Please sign in to comment.