we need to be able to set the mimetype manually
detect mimetype from the original filename, without the delete timestamp
detect mimetype from the original filename, without the versioning timestamp
add PHPDoc for setMimetype()
remove duplicate
Merge pull request #6106 from owncloud/fix_preview_creation

Fix preview creation