You are here

function messaging_devel_access in Messaging 7

Access calback

1 string reference to 'messaging_devel_access'
messaging_devel_menu in messaging_devel/messaging_devel.module
Implementation of hook_menu().

File

messaging_devel/messaging_devel.module, line 37
Simple messaging using html page. Messaging method plug-in

Code

function messaging_devel_access($account) {
  global $user;
  return $account->uid && ($account->uid == $user->uid || user_access('administer messaging'));
}