function imagepicker_access_user_pages in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \imagepicker_access_user_pages()
1 string reference to 'imagepicker_access_user_pages'
- imagepicker_menu in ./
imagepicker.module - Implementation of hook_menu().
File
- ./
imagepicker.module, line 464 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_access_user_pages() {
if (variable_get('imagepicker_account_enabled', 1) && user_access('access own imagepicker')) {
return TRUE;
}
return FALSE;
}