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/poll/poll.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/poll/poll.test') diff --git a/modules/poll/poll.test b/modules/poll/poll.test index a5f668efa..c7f8e5c17 100644 --- a/modules/poll/poll.test +++ b/modules/poll/poll.test @@ -344,7 +344,7 @@ class PollJSAddChoice extends DrupalWebTestCase { $this->drupalPost(NULL, $edit, t('More choices')); unset($this->additionalCurlOptions[CURLOPT_URL]); - // The response is drupal_json, so we need to undo some escaping. + // The response is drupal_json_output, so we need to undo some escaping. $commands = json_decode(str_replace(array('\x3c', '\x3e', '\x26'), array("<", ">", "&"), $this->drupalGetContent())); // The JSON response will be two AJAX commands. The first is a settings -- cgit v1.2.3