Flush caches only once when migrate to gerrit.
Merge commit 'refs/changes/17/417/1' of http://gerrit.tuleap.net/tuleap into stable

* http://gerrit.tuleap.net/tuleap:
  Flush caches only once when migrate to gerrit.
This is Tuleap 5.12.99.68