countQuery()->execute()->fetchColumn()) { // Don't bother if no files need to be fixed. return; } $t = get_t(); drupal_set_message($t('Transliteration has been installed. Fix existing file names.', array('@transliteration-url' => url('admin/config/media/file-system/transliteration')))); } /** * Implements hook_uninstall(). */ function transliteration_uninstall() { variable_del('transliteration_file_uploads'); variable_del('transliteration_file_lowercase'); variable_del('transliteration_search'); } /** * Remove unnecessary Drupal 6 variables. */ function transliteration_update_7300() { // Delete all the transliteration_filter_no_known_transliteration_* variables // and then clear the variable cache. db_query("DELETE FROM {variable} WHERE name LIKE 'transliteration_filter_no_known_transliteration_%'"); cache_clear_all('variables', 'cache'); }