From a26173b0721250fafcfb231f63f7b7babc00d14f Mon Sep 17 00:00:00 2001 From: josephlewisnz <57464168+josephlewisnz@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:54:29 +1300 Subject: [PATCH] Update on afterdelete for ss5 --- src/ElementalSearchExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ElementalSearchExtension.php b/src/ElementalSearchExtension.php index 4ce97c3..3ba8881 100644 --- a/src/ElementalSearchExtension.php +++ b/src/ElementalSearchExtension.php @@ -22,7 +22,7 @@ public function onAfterPublish(&$original) * Force a re-index of the parent page on archive of element * @param Versioned $original */ - public function onAfterDelete(&$original) + public function onAfterDelete() { $this->updateSearchContent(); } @@ -45,4 +45,4 @@ public function updateSearchContent() } } } -} \ No newline at end of file +}