Hi,
Maybe I should have asked first, but then again, it was to easy to
implement. :)
Totally new to this mailinglist, so sorry if this was discussed
before.. (where are archives?)
Attached is a patch that stores user preferences in a table called
user_preferences, instead of an associative, serialized array..
rcmail_save_userpref()
function (still saving using serializing..)
Applying patch: go into roundcubemail (0.1-20051007 I used), patch - p1 < roundcubemail-userprefs.patch
Hope this helps a bit :)
Any comments are welcome ofcourse. Thinking of making a new table
holding other data like signatures.. Or?
Best regards,
Geert
Geert Vanderkelen wrote:
Attached is a patch that stores user preferences in a table called
user_preferences, instead of an associative, serialized array..
I have pondered over the same question in my own framework and decided to stick with a serialized array. The main reasons are as follows:
of course using serialized arrays is very ugly SQL design :-) (though in SQL:2003 they have array support .. i doubt they cover multi dimensional arrays though)
regards, Lukas
Geert Vanderkelen wrote:
Hi,
Maybe I should have asked first, but then again, it was to easy to implement. :) Totally new to this mailinglist, so sorry if this was discussed before.. (where are archives?)