summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index f56bbe29b..716780030 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1525,7 +1525,7 @@ function user_menu() {
'title' => 'My account',
'title callback' => 'user_page_title',
'title arguments' => array(1),
- 'page callback' => 'user_build',
+ 'page callback' => 'user_view',
'page arguments' => array(1),
'access callback' => 'user_view_access',
'access arguments' => array(1),
@@ -2135,7 +2135,7 @@ function _user_cancel($edit, $account, $method) {
* @return
* An array as expected by drupal_render().
*/
-function user_build($account, $build_mode = 'full') {
+function user_view($account, $build_mode = 'full') {
// Retrieve all profile fields and attach to $account->content.
user_build_content($account, $build_mode);
@@ -2150,7 +2150,7 @@ function user_build($account, $build_mode = 'full') {
);
// Allow modules to modify the structured user.
- drupal_alter('user_build', $build);
+ drupal_alter('user_view', $build);
return $build;
}