You are here

function transliteration_update_1 in Transliteration 6.2

Same name and namespace in other branches
  1. 5.2 transliteration.install \transliteration_update_1()
  2. 6 transliteration.install \transliteration_update_1()

Retroactively transliterate existing filenames.

File

./transliteration.install, line 101
Install, update, and uninstall functions for the transliteration module.

Code

function transliteration_update_1() {
  $ret = array();
  if (TRANSLITERATION_RETROACTIVE) {
    transliteration_install_retroactive();
  }
  else {
    $t = get_t();
    drupal_set_message($t('Existing filenames have not been transliterated.'));
  }
  return $ret;
}