[development] mode column in {users}?
Peter Wolanin
pwolanin at gmail.com
Mon May 14 19:07:59 UTC 2007
Thanks Dries- that was the clue I needed. It is indeed still used here:
http://api.drupal.org/api/HEAD/function/_comment_get_display_setting
But it's never referenced directly as $user->mode so the regex I tried
missed it.
-Peter
> ---------- Forwarded message ----------
> From: Dries Buytaert <dries.buytaert at gmail.com>
> To: development at drupal.org
> Date: Mon, 14 May 2007 18:15:57 +0200
> Subject: Re: [development] mode column in {users}?
>
> On 13 May 2007, at 02:26, Peter Wolanin wrote:
> > Does anyone know if any core module uses the 'mode' column in the
> > {users} table? A quick search with grep didn't turn up anything so I
> > was thinking about using it as a flag for per-user behavior for a
> > custom module for a little site.
>
> It belongs to the comment module -- it used to store the comment
> viewing mode (i.e. threaded, flat, nested, collapsed). If that's no
> longer used, we can remove it from the users table.
>
> --
> Dries Buytaert :: http://www.buytaert.net/
>
>
>
More information about the development
mailing list