function user_view_page

Page callback wrapper for user_view().

1 string reference to 'user_view_page'
user_menu in drupal/modules/user/user.module
Implements hook_menu().

File

drupal/modules/user/user.module, line 2615
Enables the user registration and login system.

Code

function user_view_page($account) {

  // An administrator may try to view a non-existent account,
  // so we give them a 404 (versus a 403 for non-admins).
  return is_object($account) ? user_view($account) : MENU_NOT_FOUND;
}