You are here

function _i18n_string_batch_refresh_cleanup in Internationalization 7

Batch callback, delete old strings

1 string reference to '_i18n_string_batch_refresh_cleanup'
i18n_string_refresh_batch in i18n_string/i18n_string.admin.inc
Create batch for refreshing strings

File

i18n_string/i18n_string.admin.inc, line 244
Helper functions for string administration.

Code

function _i18n_string_batch_refresh_cleanup($group, &$context) {
  if (!empty($context['results'][$group]['result'])) {
    $context['results'][$group]['deleted'] = i18n_string_refresh_cleanup($group);
  }
}