Closed hervehobbes closed 11 years ago
What's your use case?
The method does what it says, it simply deletes the files. I could make it wipe all the meta also, but wouldn't the record be updated with a new image at some point? Or the record deleted completely?
Isn't the field containing the file/picture emtpied ? If that's the case it sounds logical to, also, empty the other fields.
Right, but in what instance would you remove images from a record, but leave the record?
Added.
Hello,
When you are using the metaColumns fields and when you use : $this->Product->deleteFiles($id);
the fields pointed by metaColumns are not emptied.
bye