Due to the implementation of #1227706: Add a file entity access API and #1677054: Use file_entity_access() instead of media_access() we need to support the new access functions.
media_access() seems to be removed in a future media 7.x-2.x release.

Note: We still need to support media_access for media 7.x-1.x.

See patch at http:http://drupal.org/node/1244204#comment-6708140

Comments

lsolesen’s picture

Issue tags: +Beta9-blocker

Tagging.

Moloc’s picture

Issue summary: View changes

we create a 2.x branch. Therefore we don't need to support media 1.x in the new branch.

Moloc’s picture

Title: support new file_entity_access functions » use new file_entity_access functions instead of media_access
Version: 7.x-1.x-dev » 7.x-2.x-dev
Category: task » bug
Status: Active » Needs review
FileSize
10.56 KB

patch attached.

Moloc’s picture

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

patch info applied