From f2e98973b848cb9c396b67d32f45d3373be1349f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:39:16 +1200 Subject: [PATCH] API Standardise extension hooks (#249) --- src/Extensions/SiteTreeContentReview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/SiteTreeContentReview.php b/src/Extensions/SiteTreeContentReview.php index da9b32a..8bda5ce 100644 --- a/src/Extensions/SiteTreeContentReview.php +++ b/src/Extensions/SiteTreeContentReview.php @@ -687,7 +687,7 @@ public function providePermissions() * If the queued jobs module is installed, queue up the first job for 9am tomorrow morning * (by default). */ - public function requireDefaultRecords() + protected function onRequireDefaultRecords() { if (class_exists(ContentReviewNotificationJob::class)) { // Ensure there is not already a job queued