summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-10-18 11:37:51 +0000
committerDries Buytaert <dries@buytaert.net>2006-10-18 11:37:51 +0000
commit97568421b998e1b01dfce61e5bc10a308ef9e3d9 (patch)
treeade5a184ef517ad7a203e16a289b45ae65aaa13d
parentd9ed1a9f664e58dc112192b6915362236a07bd3a (diff)
downloadbrdo-97568421b998e1b01dfce61e5bc10a308ef9e3d9.tar.gz
brdo-97568421b998e1b01dfce61e5bc10a308ef9e3d9.tar.bz2
- Patch #89823 by jvandyck: removed unused line of code
-rw-r--r--modules/profile/profile.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 4068cf18a..9ff9efeff 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -602,7 +602,6 @@ function profile_view_profile($user) {
while ($field = db_fetch_object($result)) {
if ($value = profile_view_field($user, $field)) {
- $description = ($field->visibility == PROFILE_PRIVATE) ? t('The content of this field is private and only visible to yourself.') : '';
$title = ($field->type != 'checkbox') ? check_plain($field->title) : NULL;
$item = array('title' => $title,
'value' => $value,