CRM-13470: add hook_flush_caches