function tracker_track_user in Drupal 4
Same name and namespace in other branches
- 5 modules/tracker/tracker.module \tracker_track_user()
Menu callback. Prints a listing of active nodes on the site.
1 string reference to 'tracker_track_user'
- tracker_menu in modules/
tracker.module - Implementation of hook_menu().
File
- modules/
tracker.module, line 65 - Enables tracking of recent posts for users.
Code
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();
}
}