summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user-profile.tpl.php1
-rw-r--r--modules/user/user.pages.inc3
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/user/user-profile.tpl.php b/modules/user/user-profile.tpl.php
index 362145d54..a6d49b4a0 100644
--- a/modules/user/user-profile.tpl.php
+++ b/modules/user/user-profile.tpl.php
@@ -23,7 +23,6 @@
*
* Available variables:
* - $user_profile: An array of profile items. Use render() to print them.
- * - TODO D7 : document $FIELD_NAME_rendered variables.
*
* @see template_preprocess_user_profile()
*/
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index 07ad31dce..d3b736c02 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -190,9 +190,6 @@ function user_view($account) {
function template_preprocess_user_profile(&$variables) {
$account = $variables['elements']['#account'];
$variables['user_profile'] = $account->content;
-
- // Add $FIELD_NAME_rendered variables for fields.
- $variables += field_attach_preprocess('user', $account);
}
/**