1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Fix a minor parameter issue

Summary: D1595 split encodeJSONForHTTPResponse() into two methods, but left a
straggling $use_javelin_shield parameter which is no longer used.

Test Plan: Caught errors in error log.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1663
This commit is contained in:
epriestley 2012-02-22 10:06:06 -08:00
parent 17965cc8be
commit 84afd3d469

View file

@ -70,9 +70,7 @@ abstract class AphrontResponse {
return $this; return $this;
} }
protected function encodeJSONForHTTPResponse( protected function encodeJSONForHTTPResponse(array $object) {
array $object,
$use_javelin_shield) {
$response = json_encode($object); $response = json_encode($object);