You are here

function _tracker_user_access in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/tracker/tracker.module \_tracker_user_access()
  2. 6 modules/tracker/tracker.module \_tracker_user_access()

Access callback for user/%user/track.

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

File

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

Code

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