You are here

function sms_user_edit_access in SMS Framework 6.2

Same name and namespace in other branches
  1. 7 modules/sms_user/sms_user.module \sms_user_edit_access()

Access control on edit users sms number.

1 string reference to 'sms_user_edit_access'
sms_user_menu in modules/sms_user/sms_user.module
Implementation of hook_menu().

File

modules/sms_user/sms_user.module, line 56
Provides integration between the SMS Framework and Drupal users.

Code

function sms_user_edit_access($account) {
  return user_edit_access($account) && user_access('receive sms', $account);
}