summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index d55c0572c..9e907f64f 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -273,8 +273,6 @@ function profile_save_profile(&$edit, $account, $category, $register = FALSE) {
))
->fields(array('value' => $edit[$field->name]))
->execute();
- // Mark field as handled (prevents saving to user->data).
- $edit[$field->name] = NULL;
}
}