Merge pull request #719 from creative-commoners/pulls/5.0/revert_DO_to_UF_relationship_change

revert UDF has_one to DO has_one
This commit is contained in:
Daniel Hensby 2018-02-14 15:08:27 +00:00 committed by GitHub
commit ebdfbb5502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class EmailRecipient extends DataObject
]; ];
private static $has_one = [ private static $has_one = [
'Form' => UserDefinedForm::class, 'Form' => DataObject::class,
'SendEmailFromField' => EditableFormField::class, 'SendEmailFromField' => EditableFormField::class,
'SendEmailToField' => EditableFormField::class, 'SendEmailToField' => EditableFormField::class,
'SendEmailSubjectField' => EditableFormField::class 'SendEmailSubjectField' => EditableFormField::class