[development] Let's kill $user->data

Greg Knaddison - GVS Greg at GrowingVentureSolutions.com
Wed Nov 22 13:40:37 UTC 2006

On 11/22/06, Chris Johnson <cxjohnson at gmail.com> wrote:
> As much as I prefer to avoid serialized data when possible, there are cases
> where it makes sense.  What is the general purpose of this move?  What are
> the repercussions for modules which use this column in D6?  Does core use
> this column?

Core profile module uses this column to store fields that are admin
only.  This can lead to database inconsistency if you have a field
pulic for a while, then change it to admin only - the data stored when
it was public is in one table and the rest is in $user->data.

I don't know why that is the case, but it is.  Presumably this would
get changed somehwere along the way with Karoly's proposal.  That
makes more sense to me.


More information about the development mailing list