Download & Extend

Replace drupal_to_js with drupal_json

Project:Hosting
Version:6.x-0.4-alpha1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This is not really a bug as nothing is broken, but it didn't make sense filing this under the other categories.

The recommended method of returning json data structures in D6 is with the drupal_json function. The only real difference is that it sets the header for JavaScript output.

This patch just cleans these up two places this is used.

AttachmentSize
hosting_drupal_json.patch824 bytes

Comments

#1

Status:needs review» fixed

Committed to HEAD. Thanks!

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here