tracker_track_user

Versions
4.6 – 5
tracker_track_user()

Menu callback. Prints a listing of active nodes on the site.

Code

modules/tracker.module, line 65

<?php
function tracker_track_user() {
  if ($account = user_load(array('uid' => arg(1)))) {
    if ($account->status || user_access('administer users')) {
      drupal_set_title(check_plain($account->name));
      return tracker_page($account->uid);
    }
    else {
      drupal_access_denied();
    }
  }
  else {
    drupal_not_found();
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.