mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
API Standardise extension hooks (#1317)
This commit is contained in:
parent
8e84d9def7
commit
9de2039c24
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user