function locale_translation_flush_projects

Clear the project data table.

1 call to locale_translation_flush_projects()
locale_translation_manual_status in drupal/core/modules/locale/locale.pages.inc
Page callback: Checks for translation updates and displays the translations status.

File

drupal/core/modules/locale/locale.compare.inc, line 20
The API for comparing project translation status with available translation.

Code

function locale_translation_flush_projects() {

  // Followup issue: http://drupal.org/node/1842362
  // Replace {locale_project} table by Drupal::state() variable(s).
  db_truncate('locale_project')
    ->execute();
}