From 341351506d30295f27446297d7728a9e513474f3 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 16 May 2024 17:46:22 +1200 Subject: [PATCH] API Set extension hook implementation visibility to protected --- src/Extensions/MaintenanceLockExtension.php | 2 +- src/Extensions/ScheduledExecutionExtension.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Extensions/MaintenanceLockExtension.php b/src/Extensions/MaintenanceLockExtension.php index c1f15802..61063f15 100644 --- a/src/Extensions/MaintenanceLockExtension.php +++ b/src/Extensions/MaintenanceLockExtension.php @@ -21,7 +21,7 @@ class MaintenanceLockExtension extends DataExtension /** * @param FieldList $fields */ - public function updateCMSFields(FieldList $fields) + protected function updateCMSFields(FieldList $fields) { if (!QueuedJobService::config()->get('lock_file_enabled')) { return; diff --git a/src/Extensions/ScheduledExecutionExtension.php b/src/Extensions/ScheduledExecutionExtension.php index 3eb0861e..4aeec810 100644 --- a/src/Extensions/ScheduledExecutionExtension.php +++ b/src/Extensions/ScheduledExecutionExtension.php @@ -58,7 +58,7 @@ class ScheduledExecutionExtension extends DataExtension /** * @param FieldList $fields */ - public function updateCMSFields(FieldList $fields) + protected function updateCMSFields(FieldList $fields) { $fields->removeByName([ 'ExecuteInterval',