1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00

Add user parameter to differential.createrevision

Summary: arc incorrectly passes a "user" parameter to differential.createrevision (long ago, we respected it, I think). After D4191 this fatals. Provide a stub call until the next version bump.

Test Plan: inspection

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D4220
This commit is contained in:
epriestley 2012-12-17 14:45:11 -08:00
parent 97045077c7
commit ee392ada93

View file

@ -12,6 +12,9 @@ final class ConduitAPI_differential_createrevision_Method
public function defineParamTypes() { public function defineParamTypes() {
return array( return array(
// TODO: Arcanist passes this; prevent fatals after D4191 until Conduit
// version 7 or newer.
'user' => 'ignored',
'diffid' => 'required diffid', 'diffid' => 'required diffid',
'fields' => 'required dict', 'fields' => 'required dict',
); );