function makemeeting_delete_answer_access in Make Meeting Scheduler 7.2
Access callback: delete an answer
Parameters
$answer:
Return value
bool
1 string reference to 'makemeeting_delete_answer_access'
- makemeeting_menu in ./
makemeeting.module - Implements hook_menu().
File
- ./
makemeeting.module, line 88 - Hooks and field implementations
Code
function makemeeting_delete_answer_access($answer) {
global $user;
return user_access(MAKEMEETING_DELETE_PERM) || user_is_logged_in() && $answer->uid == $user->uid;
}