You are here

function sms_user_edit_access in SMS Framework 7

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

Access control on edit users sms number.

File

modules/sms_user/sms_user.module, line 64
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);
}