(PECL mongo >=0.9.0)
MongoGridFS::remove — Removes files from the collections
The filename or criteria for which to search.
Options for the remove. Valid options are:
"safe"
Check that the remove succeeded.
Returns if the removal was successfully sent to the database.
To ensure that a remove occurred successfully use MongoDB::lastError(). Currently MongoGridFS::remove will return even if the remove failed.