[horde] Setting pref for new users only

Ralf Lang lang at b1-systems.de
Fri Mar 19 17:25:34 UTC 2021


Hi Frank,

Am 19.03.21 um 12:44 schrieb Frank Richter:
> Hi,
>
> I'd like to give new users another value for 'sent_mail_folder', but
> to keep the old value for existant users.
> Is it possible in a hook? How do I identify new users there?
>
> Thanks,
> Frank
>
New user is who has no stored pref backend value for the key. Try to
read the existing value inside the hook.

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the horde mailing list