[Bug 10768] Queue Overview StaticDB update error

Hi Martin,

There is PR for the bug #10768. It is a little specific. We tested this, and I believe that it works fine if we use only one ticket index module (StaticDB or RuntimeDB). Problem is when ticket index module is changed to StaticDB. For example if we used RuntimeDB and then we change to StaticDB, ticket index will be empty. Also if StaticDB is used , then RuntimeDB is used for a while, and then if ticket index is changed back to StaticDB there aren't tickets that were created in meantime. Actually, ticket there are, but numbers in Queue view are wrong.
Because of that I added checking and in that case when ticket index module is changed to StaticDB it will be callled TicketAcceleratorRebuild() function.
I hope you can understand what I meant, I tried to explain the specific case that make a problem.
We can discuss it.

Regards
Zoran