function _filebrowser_can_download_file in Filebrowser 6.2
Same name and namespace in other branches
- 8 filebrowser.common.inc \_filebrowser_can_download_file()
- 7.4 filebrowser.common.inc \_filebrowser_can_download_file()
- 7.2 filebrowser.common.inc \_filebrowser_can_download_file()
- 7.3 filebrowser.common.inc \_filebrowser_can_download_file()
Check if user can download files.
1 call to _filebrowser_can_download_file()
- filebrowser_page_download in includes/
downloads.inc - Callback for filebrowser_download/%node menu.
File
- includes/
node.inc, line 35
Code
function _filebrowser_can_download_file(&$node) {
return node_access('view', $node) && user_access(FILEBROWSER_DOWNLOAD);
}