I tried to delete a remote media file and it errors because it fails the is_file() check in file_managed_delete().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1231688-file-delete-fails.patch | 6.32 KB | dave reid |
I tried to delete a remote media file and it errors because it fails the is_file() check in file_managed_delete().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1231688-file-delete-fails.patch | 6.32 KB | dave reid |
Comments
Comment #1
dave reidThanks to rfay's excellent stream wrapper example, I got the correct way to 'emulate' an is_file() = TRUE result. Also adding some tests, so I'd like to see how the testbot works with this.
Comment #2
dave reidCommitted #1 to Git.
http://drupalcode.org/project/remote_stream_wrapper.git/commit/898dba3