function messaging_simple_access in Messaging 6.4
Same name and namespace in other branches
- 6 messaging_simple/messaging_simple.module \messaging_simple_access()
- 6.2 messaging_simple/messaging_simple.module \messaging_simple_access()
- 6.3 messaging_simple/messaging_simple.module \messaging_simple_access()
- 7 messaging_simple/messaging_simple.module \messaging_simple_access()
Access calback
1 string reference to 'messaging_simple_access'
- messaging_simple_menu in messaging_simple/
messaging_simple.module - Implementation of hook_menu().
File
- messaging_simple/
messaging_simple.module, line 56 - Simple messaging using html page. Messaging method plug-in
Code
function messaging_simple_access($account) {
global $user;
return $account->uid && ($account->uid == $user->uid || user_access('administer messaging'));
}