UnionOfRAD/lithium — pull request #191 by marcghorayeb (2011-11-15 14:44:40+00:00)
Title: GridFS bug fix - Delete binary data (fs.chunks) as well as the file record (fs.files)

Use the GridFS remove function for models that use the fs.files source. Using grid->remove actually calls remove on both fs.files and fs.chunks collections. This fixes a bug where file records are deleted, but their binary data stays in fs.chunks.