diff --git a/i18n_taxonomy/i18n_taxonomy.module b/i18n_taxonomy/i18n_taxonomy.module index db19800..cb790d7 100644 --- a/i18n_taxonomy/i18n_taxonomy.module +++ b/i18n_taxonomy/i18n_taxonomy.module @@ -789,28 +789,6 @@ function i18n_taxonomy_form_all_localize(&$item) { } /** - * Get all terms in a translation set, represented by $i18n_tsid. - * - * @param $i18n_tsid - * The translation source tid of the translation set, the identifier - * of the term used to derive all translations in the set. - * @return - * Array of terms in the translation set. - */ -function i18n_taxonomy_term_get_translations($i18n_tsid) { - $translations = &drupal_static(__FUNCTION__, array()); - - if (!isset($translations[$i18n_tsid])) { - $sql = "SELECT tid, name, vid, language - FROM taxonomy_term_data - WHERE i18n_tsid = :i18n_tsid"; - - $translations[$i18n_tsid] = db_query($sql, array(':i18n_tsid' => $i18n_tsid))->fetchAllAssoc('language'); - } - return $translations[$i18n_tsid]; -} - -/** * Implements hook_node_prepare(). */ function i18n_taxonomy_node_prepare($node) {