From 9de2039c24f5b35da50eb42d0bb4d845b29395f5 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:39:30 +1200 Subject: [PATCH] API Standardise extension hooks (#1317) --- code/Extension/UpgradePolymorphicExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Extension/UpgradePolymorphicExtension.php b/code/Extension/UpgradePolymorphicExtension.php index 22212344..81dac230 100644 --- a/code/Extension/UpgradePolymorphicExtension.php +++ b/code/Extension/UpgradePolymorphicExtension.php @@ -47,7 +47,7 @@ class UpgradePolymorphicExtension extends DataExtension */ protected $defaultReplacement = UserDefinedForm::class; - public function requireDefaultRecords() + protected function onRequireDefaultRecords() { if (!UserDefinedForm::config()->get('upgrade_on_build')) { return;