Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow up from #2415757: Remove all uses of file_get_mimetype
Problem/Motivation
#2415757: Remove all uses of file_get_mimetype removed usages of file_get_mimetype, let's remove the function itself here.
Proposed resolution
Remove function file_get_mimetype($uri, $mapping = NULL)
API changes
Remove file_get_mimetype()
Remaining tasks
Review patch.
Beta phase evaluation
Issue priority | Normal as the patch removes a no longer used, already deprecated, function |
---|---|
Prioritized changes | code already marked for removal by 8.0.0 |
Comment | File | Size | Author |
---|---|---|---|
#7 | remove-file_get_mimetype-function-2417071-7.patch | 1.36 KB | chintan.vyas |
Comments
Comment #1
chintan.vyas CreditAttribution: chintan.vyas commentedRemoved file_get_mimetype function.
Comment #2
chintan.vyas CreditAttribution: chintan.vyas commentedComment #6
mondrakeComment #7
chintan.vyas CreditAttribution: chintan.vyas commentedRerolling..
Comment #8
mondrakeAdded beta evaluation
Comment #9
mondrakeLooks good to go. Thanks @chintan.vyas.
Comment #10
alexpottCommitted 6a88305 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.