FileAttachmentField::deleteFileByID
Deletes a file. Ensures user has permissions and the file is part of the current record, so as not to allow arbitrary deletion of files
Signature
protected function deleteFileByID(int
$id )
Parameters
$id
— int
Returns
- boolean