[horde] Using hooks to permanently set from_addr and fullname
Jan Schneider
jan at horde.org
Fri Jul 29 09:50:53 PDT 2005
Zitat von Kevin Myer <kevin_myer at iu13.org>:
> Going back to my original idea to save the pref, once its been looked up one
> time:
>
> I'm missing something obvious. I've tried adding a:
>
> global $prefs;
> $prefs->setValue('fullname', $name);
> $prefs->store;
>
> at the end of my hook to lookup the fullname from LDAP. But nothing is being
> saved to my MySQL prefs backend. What am I missing?
Probably the fact the hook is called *while* the preference is set.
That might have some undesired side effects.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list