You are here

function rate_results_page_access in Rate 6.2

Same name and namespace in other branches
  1. 7 rate.module \rate_results_page_access()

Menu access callback.

1 string reference to 'rate_results_page_access'
rate_menu in ./rate.module
Implements hook_menu().

File

./rate.module, line 783
Rate module

Code

function rate_results_page_access($permission, $node) {
  if (!user_access($permission)) {
    return FALSE;
  }
  if (!rate_get_active_widgets('node', $node->type)) {
    return FALSE;
  }
  return TRUE;
}