function _tracker_myrecent_access
7.x tracker.module | _tracker_myrecent_access($account) |
6.x tracker.module | _tracker_myrecent_access($account) |
Access callback for tracker/%user_uid_optional.
1 string reference to '_tracker_myrecent_access'
- tracker_menu in drupal-7.x/
modules/ tracker/ tracker.module - Implements hook_menu().
File
- drupal-7.x/
modules/ tracker/ tracker.module, line 158 - Tracks recent content posted by a user or users.
Code
function _tracker_myrecent_access($account) {
// This path is only allowed for authenticated users looking at their own content.
return $account->uid && ($GLOBALS['user']->uid == $account->uid) && user_access('access content');
}