summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-21 07:56:09 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-21 07:56:09 +0000
commitef33d44f66202a8d558fbefcb9346ed5752f92c4 (patch)
treeaef126a57132f100a82f03565ebf1146842b0e10 /modules/taxonomy
parenta32c8ecfffb62cdb70f23a7a094c64a2b9503802 (diff)
downloadbrdo-ef33d44f66202a8d558fbefcb9346ed5752f92c4.tar.gz
brdo-ef33d44f66202a8d558fbefcb9346ed5752f92c4.tar.bz2
- Patch #556018 by Damien Tournoud, dereine | sun: rename drupal_to_js() and drupal_json() for consistency and readability.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.pages.inc4
1 files changed, 2 insertions, 2 deletions
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);
}