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:
parent
97045077c7
commit
ee392ada93
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue