From f305686675c64cd4725c0acd6aa211968334a94d Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 18 Sep 2024 10:52:29 +1200 Subject: [PATCH] ENH Don't use deprecated method --- src/Tasks/SubsiteCopyPagesTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tasks/SubsiteCopyPagesTask.php b/src/Tasks/SubsiteCopyPagesTask.php index d434f399..e72523ed 100644 --- a/src/Tasks/SubsiteCopyPagesTask.php +++ b/src/Tasks/SubsiteCopyPagesTask.php @@ -78,7 +78,7 @@ public function run($request) $childClone->copyVersionToStage('Stage', 'Live'); array_push($stack, [$child->ID, $childClone->ID]); - Deprecation::withNoReplacement(function () use ($child) { + Deprecation::withSuppressedNotice(function () use ($child) { $this->log(sprintf('Copied "%s" (#%d, %s)', $child->Title, $child->ID, $child->Link())); }); }