function l10n_update_flush_caches in Localization update 6
Same name and namespace in other branches
- 7 l10n_update.module \l10n_update_flush_caches()
Implementation of hook_flush_caches().
Called from update.php (among others) to flush the caches.
File
- ./
l10n_update.module, line 494 - Download translations from remote localization server.
Code
function l10n_update_flush_caches() {
if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update') {
cache_clear_all('*', 'cache_l10n_update', TRUE);
variable_set('l10n_update_rebuild_projects', 1);
}
return array();
}