v5.2.3 - Show latest stable - 0 notes - Class: Blob
purge() public

Deletes the file on the service and then destroys the blob record. This is the recommended way to dispose of unwanted blobs. Note, though, that deleting the file off the service will initiate a HTTP connection to the service, which may be slow or prevented, so you should not use this method inside a transaction or in callbacks. Use #purge_later instead.

Show source
Register or log in to add new notes.