Homec4science

Use Filesystem::getMimeType() instead of `file`

Authored by epriestley <git@epriestley.com> on Feb 15 2012, 02:00.

Description

Use Filesystem::getMimeType() instead of file

Summary: The file binary doesn't exist everywhere, use the more flexible
wrapper introduce in D1609.

Test Plan: Uploaded a file via drag-and-drop, it got MIME'd correctly.

Reviewers: btrahan, davidreuss, Koolvin

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T869

Differential Revision: https://secure.phabricator.com/D1615

Details

Committed
epriestley <git@epriestley.com>Feb 15 2012, 02:00
Pushed
aubortJan 31 2017, 17:16
Parents
rPH35c5852d3ff3: Add a safeguard against multiple patches with the same version
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH6e48bfcb0a76: Use Filesystem::getMimeType() instead of `file` (authored by epriestley <git@epriestley.com>).Feb 15 2012, 02:00