Zentyal/sogo — pull request #35 by blaxter (2014-08-22 15:25:06+00:00)
Title: Cached usercontext objects update indexing_context

Instead of use always the one given on initialization.

Detected with weird crash reports (a couple that I know of: 199, 1898) where the sql queries where crashing because bad MYSQL * pointer was used, because sogo was using an indexing_context already freed so it was garbage.