From bead28a4cdbd612413d042bfa225ee354a8c3885 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 Apr 2010 13:49:21 +0000 Subject: - Patch #721436 by catch, chx, sun, eojthebrave, David_Rothstein, moshe weitzman: remove magical fairy saving of cruft from user_save(). --- modules/profile/profile.module | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/profile') 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; } } -- cgit v1.2.3