public function i18n_path_translation_set::clean_translations in Internationalization 7
Clean path translations.
Unlike other translation sets this actually deletes paths
Overrides i18n_translation_set::clean_translations
File
- i18n_path/
i18n_path.inc, line 20 - Internationalization (i18n) module - Translation set
Class
- i18n_path_translation_set
- @file Internationalization (i18n) module - Translation set
Code
public function clean_translations() {
$delete = db_delete('i18n_path')
->condition('tsid', $this->tsid)
->condition('language', array_keys($this
->get_translations()), 'NOT IN')
->execute();
}