remove useless check
Merge pull request #295 from claudiaifrim/files_view_redirect

remove useless check