From ef33d44f66202a8d558fbefcb9346ed5752f92c4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 21 Sep 2009 07:56:09 +0000 Subject: - Patch #556018 by Damien Tournoud, dereine | sun: rename drupal_to_js() and drupal_json() for consistency and readability. --- modules/taxonomy/taxonomy.pages.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 488db5762..e6d68d2cc 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -135,7 +135,7 @@ function taxonomy_autocomplete_legacy($vid = 0, $tags_typed = '') { } } - drupal_json(array_merge($term_matches, $synonym_matches)); + drupal_json_output(array_merge($term_matches, $synonym_matches)); } /** @@ -191,5 +191,5 @@ function taxonomy_autocomplete($field_name, $bundle, $tags_typed = '') { } } - drupal_json($term_matches); + drupal_json_output($term_matches); } -- cgit v1.2.3