function _tracker_user_access

Access callback: Determines access permission for an account.

Parameters

int $account: The user account ID to track.

Return value

boolean TRUE if a user has permission to access the account for $account and has permission to access the content.

See also

tracker_menu()

1 string reference to '_tracker_user_access'
tracker_menu in drupal/core/modules/tracker/tracker.module
Implements hook_menu().

File

drupal/core/modules/tracker/tracker.module, line 186
Tracks recent content posted by a user or users.

Code

function _tracker_user_access($account) {
  return user_view_access($account) && user_access('access content');
}