_tracker_myrecent_access
function _tracker_myrecent_access
_tracker_myrecent_access($account)
Access callback for tracker/%user_uid_optional.
File
- 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'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!tracker!tracker.module/function/_tracker_myrecent_access/7.x