summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-24 18:16:38 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-24 18:16:38 +0000
commitdaa0ec1684329d6c456d9bf72984d64b3d25bbc6 (patch)
treeb5243f977376e7023090c705fde7d6afe109f5f2 /modules/user
parent48d3eff243eaf503e788e77528eafa77126e3ae1 (diff)
downloadbrdo-daa0ec1684329d6c456d9bf72984d64b3d25bbc6.tar.gz
brdo-daa0ec1684329d6c456d9bf72984d64b3d25bbc6.tar.bz2
- Patch #367215 by yched, sun et al: remove 'exclude from ' display setting. Feel good moment!
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);
}
/**