API Standardise extension hooks (#1317)

This commit is contained in:
Guy Sartorelli 2024-08-27 15:39:30 +12:00 committed by GitHub
parent 8e84d9def7
commit 9de2039c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;