function l10n_update_flush_projects in Localization update 7.2
Clear the project data table.
2 calls to l10n_update_flush_projects()
- drush_l10n_update_refresh in ./
l10n_update.drush.inc - Callback for command l10n-update-refresh.
- l10n_update_manual_status in ./
l10n_update.admin.inc - Page callback: Checks for translation updates and displays the status.
File
- ./
l10n_update.compare.inc, line 18 - The API for comparing project translation status with available translation.
Code
function l10n_update_flush_projects() {
db_truncate('l10n_update_project')
->execute();
drupal_static_reset('l10n_update_build_projects');
}