[Tickets #10819] Keep 'nosave' pref value until the end of Session

bugs at horde.org bugs at horde.org
Wed Nov 30 19:09:41 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10819
------------------------------------------------------------------------------
  Ticket             | 10819
  Created By         | goncalo.queiros at portugalmail.net
  Summary            | Keep 'nosave' pref value until the end of Session
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


goncalo.queiros at portugalmail.net (2011-11-30 19:09) wrote:

I was reading #9728, speacially  
http://bugs.horde.org/ticket/?id=9728#c18, and found that the correct  
way to set a pref value is when the appinitialized hook runs.
I was expecting that the 'nosave' parameter would maintain the pref  
value until the end of the session and not until the end of the  
request, since this behavior doesn't seem interesting.

I attach a patch, that will respect the 'nosave' parameter, but will  
keep the pref value until the session ends.

I don't know if this is the correct way, please enlighten me if  
there's a better way to set a pref value only during the current  
session.



goncalo.queiros at portugalmail.net (2011-11-30 19:09) uploaded:  
0001-When-nosave-parameter-is-true-keep-pref-value-until-.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=0001-When-nosave-parameter-is-true-keep-pref-value-until-.patch&ticket=10819&fn=%2F0001-When-nosave-parameter-is-true-keep-pref-value-until-.patch





More information about the bugs mailing list