mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +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:
parent
17965cc8be
commit
84afd3d469
1 changed files with 1 additions and 3 deletions
|
@ -70,9 +70,7 @@ abstract class AphrontResponse {
|
|||
return $this;
|
||||
}
|
||||
|
||||
protected function encodeJSONForHTTPResponse(
|
||||
array $object,
|
||||
$use_javelin_shield) {
|
||||
protected function encodeJSONForHTTPResponse(array $object) {
|
||||
|
||||
$response = json_encode($object);
|
||||
|
||||
|
|
Loading…
Reference in a new issue