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