[horde] Setting Default Preferences Before First Login

Vilius Šumskas vilius at lnk.lt
Mon Feb 6 11:49:10 UTC 2012


> I have a similar situation as you have.
> 
> Did a mysqldump of the data, and lo-and-behold, the data is readable...
> 
> Based on the mysqldump result I did successfully insert new data into the
> database even though the field is a binary - blob field now.
> 
> I tested this with a test account on my test webmailserver, and the user
> preferences set through the script I made worked without any problem.

Why so complicated? As Gunnar already pointed out, you should be using prefs.local.php or hooks. It's much easier, cleaner and less over engineering.

-- 
  Vilius



More information about the horde mailing list