You are here

function imagepicker_access_user_config in Image Picker 7

Same name and namespace in other branches
  1. 6.2 imagepicker.module \imagepicker_access_user_config()
1 string reference to 'imagepicker_access_user_config'
imagepicker_menu in ./imagepicker.module
Implement hook_menu().

File

./imagepicker.module, line 509
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function imagepicker_access_user_config() {
  if (imagepicker_variable_get('imagepicker_account_enabled', 1) && user_access('access own imagepicker') && imagepicker_variable_get('imagepicker_user_config_enable', 1)) {
    return TRUE;
  }
  return FALSE;
}