From 4d582a0030fb8638b9a3f90410c9a85229642f38 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Wed, 4 Aug 2021 10:22:33 +0200 Subject: [PATCH] BUGFIX: Replace use of outdated getMd5() in S3Target This sneaked in via the "support skipping unpublishing of resources" change. --- Classes/S3Target.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/S3Target.php b/Classes/S3Target.php index afb519d..d24a701 100644 --- a/Classes/S3Target.php +++ b/Classes/S3Target.php @@ -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; }