function newsletter_edit_subsdcriber_access in Newsletter 7
Access callback for user newsletter subscriptions editing.
1 string reference to 'newsletter_edit_subsdcriber_access'
- newsletter_menu in ./
newsletter.module - Implements hook_menu().
File
- ./
newsletter.module, line 982 - Defines menu items for newsletter administration, permissions and basic drupal hooks.
Code
function newsletter_edit_subsdcriber_access($account) {
return ($GLOBALS['user']->uid == $account->uid && user_access('subscribe newsletters') || user_access('administer users')) && $account->uid > 0;
}