[Tickets #12510] Re: Driver: $_count cache gets dirty on modifications

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jul 30 07:33:43 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12510
------------------------------------------------------------------------------
  Ticket             | 12510
  Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Driver: $_count cache gets dirty on modifications
  Queue              | Turba
  Version            | Git master
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-07-30 07:33) wrote:

> The value of this only lasts for a single request, and is never  
> called after a modification takes place in the same request.
>
> However, these are the types of things that can later cause a  
> headache trying to track down if this behavior ever changes. So if  
> you provide a patch, I agree it should be committed.

In fact grepping the code for "->count()" shows it's not used at all  
(-> not exported by the API). Could we also just remove / deprecate it?

The real counting stuff in done in Turba_List.






More information about the bugs mailing list