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

Chris Johnson cxjohnson at gmail.com
Wed Nov 22 10:01:36 UTC 2006

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?


On 11/22/06, Karoly Negyesi <karoly at negyesi.net> wrote:
> Hi,
> Two steps
> a) We remove $user->data handling code from D6 core. No save, no load. New
> installs won't have this column.
> b) D7 will drop the $user->data if it exists. (SELECT * FROM user,
> $account = db_fetch_array, if(isset($account['data'])) -- no need for DDL
> to check for a column).
> This way D6 contribs can clean up $user->data and migrate to their own
> tables.
> Regards
> NK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20061122/38285b88/attachment.htm 

More information about the development mailing list