From: Thijs K. <ki...@sq...> - 2008-05-06 15:00:25
|
On Tuesday 12 February 2008 04:02, Paul Lesniewski wrote: > On Feb 11, 2008 2:07 AM, Thierry Godefroy <mel...@ya...> wrote: > > Greetings, > > > > Unlike what happens whenever the user settings are saved as files, there > > is no way to set default user preferences whenever the user settings are > > stored in a database. > > Not true. See the class variable $default, which contains (hard > coded) defaults. Obviously, this is not ideal; I'm not sure why this > was left this way. Your solution is obviously more desirable, > although as someone else recently posted, there should be a way to get > the defaults from the DB itself as well. I think I might take the > best of both solutions and do something about it this evening. I've committed the patch into trunk now - Thierry's patch is good and although your point is even better there's no need to wait with the good solution until we have a better solution :-) Thijs |