Use context instead of static access
Merge pull request #304 from owncloud/viewer-nostaticfileactionaccess

Use context instead of static access