[Tickets #9728] Re: hook prefs_init

bugs at horde.org bugs at horde.org
Tue Apr 5 07:27:04 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9728
------------------------------------------------------------------------------
  Ticket             | 9728
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | hook prefs_init
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-04-05 07:27) wrote:

>> Added documentation to reiterate that you can't access application
>> data in prefs_init.  To do what you are trying to do here, you should
>> instead use the postauthenticate hook and set the value manually with
>> $prefs->setValue(pref_name, pref_value, array('nosave' => true));
>
> This means that the hook example for default_dir is wrong ?

Yes.  It has been removed.






More information about the bugs mailing list