Skip to content

Commit

Permalink
API Standardise extension hooks (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 27, 2024
1 parent 8e84d9d commit 9de2039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Extension/UpgradePolymorphicExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9de2039

Please sign in to comment.