[Tickets #9728] Re: hook prefs_init

bugs at horde.org bugs at horde.org
Mon Apr 4 20:57:40 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              | Feedback
+State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             | Michael Rubinsky
+Owners             | Michael Rubinsky, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-04-04 20:57) 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));






More information about the bugs mailing list