[Tickets #9728] Re: hook prefs_init

bugs at horde.org bugs at horde.org
Tue Apr 5 07:09:24 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         | rsalmon at mbpgroup.com
  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
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-04-05 07:09) 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 ?







More information about the bugs mailing list