mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR can* methods on EmailRecipient now inherit off the form.
This commit is contained in:
parent
85c30f68e4
commit
fd9c08a195
@ -699,6 +699,14 @@ class UserDefinedForm_EmailRecipient extends DataObject {
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
function canEdit() {
|
||||
return $this->Form()->canEdit();
|
||||
}
|
||||
|
||||
function canDelete() {
|
||||
return $this->Form()->canDelete();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Email that gets sent to the people listed in the Email Recipients
|
||||
|
Loading…
Reference in New Issue
Block a user