diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-10-16 16:59:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-10-16 16:59:59 +0000 |
commit | 869a91b72eaf85a447e8fd1b78aad51a8b5676cc (patch) | |
tree | 35e09f31ddce50325a2895c5ee7cf0e62cea157e /database/database.pgsql | |
parent | 5a2e0d0377aeffcd29684f20b39ffce15cede2fc (diff) | |
download | brdo-869a91b72eaf85a447e8fd1b78aad51a8b5676cc.tar.gz brdo-869a91b72eaf85a447e8fd1b78aad51a8b5676cc.tar.bz2 |
- Patch #11505 by Steven: 'my account' information is not saved.
+ Drupal 4.4 stored profile data in the serialized user->data column. Drupal 4.5 stores profile data in tables (but user->data is still available and used for other stuff, like locale or themes). The update from 4.4 to 4.5 didn't remove the old data from the user->data column properly, because there is no mechanism in user_save to do so (it did try to unset the fields, but this has no effect).
+ On registration, hook_user('insert') is invoked after saving the data column. This means that any module-specific data is put into the data field. We cannot move hook_user('insert') higher up, because before that point, we do not have a complete $user object yet.
Diffstat (limited to 'database/database.pgsql')
-rw-r--r-- | database/database.pgsql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/database.pgsql b/database/database.pgsql index 6e625f74f..ac9e31b99 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -752,7 +752,7 @@ INSERT INTO system VALUES ('modules/taxonomy.module','taxonomy','module','',1,0, INSERT INTO system VALUES ('themes/bluemarine/xtemplate.xtmpl','bluemarine','theme','themes/engines/xtemplate/xtemplate.engine',1,0,0); INSERT INTO system VALUES ('themes/engines/xtemplate/xtemplate.engine','xtemplate','theme_engine','',1,0,0); -INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2004-09-17";'); +INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2004-10-16";'); INSERT INTO variable(name,value) VALUES('theme_default','s:10:"bluemarine";'); INSERT INTO users(uid,name,mail) VALUES(0,'',''); INSERT INTO users_roles(uid,rid) VALUES(0, 1); |