diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-07 13:49:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-07 13:49:21 +0000 |
commit | bead28a4cdbd612413d042bfa225ee354a8c3885 (patch) | |
tree | 94a18c3daaa07639983e9d1bf50a820f331165e1 /modules/profile | |
parent | e7b3c5e3e9b49990a1c8f979205c1080fbb71abd (diff) | |
download | brdo-bead28a4cdbd612413d042bfa225ee354a8c3885.tar.gz brdo-bead28a4cdbd612413d042bfa225ee354a8c3885.tar.bz2 |
- Patch #721436 by catch, chx, sun, eojthebrave, David_Rothstein, moshe weitzman: remove magical fairy saving of cruft from user_save().
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.module | 2 |
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; } } |