MINOR can* methods on EmailRecipient now inherit off the form.

This commit is contained in:
Tom Rix 2009-12-04 00:39:56 +00:00
parent 85c30f68e4
commit fd9c08a195

View File

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