diff options
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/json.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/gallery/helpers/json.php b/modules/gallery/helpers/json.php index bbd835e9..a39db27a 100644 --- a/modules/gallery/helpers/json.php +++ b/modules/gallery/helpers/json.php @@ -19,11 +19,10 @@ */ class json_Core { /** - * Does the active user have this permission on this item? + * JSON Encode a reply to the browser and set the content type to specify that it's a JSON + * payload. * - * @param string $perm_name - * @param Item_Model $item - * @return boolean + * @param mixed $message string or object to json encode and print */ static function reply($message) { if (!headers_sent()) { |