Bump Conduit server version number
Summary: See D4076. Test Plan: $ arc diff Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4077
This commit is contained in:
@@ -73,13 +73,13 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
|
|||||||
|
|
||||||
switch ($client) {
|
switch ($client) {
|
||||||
case 'arc':
|
case 'arc':
|
||||||
$server_version = 5;
|
$server_version = 6;
|
||||||
$supported_versions = array(
|
$supported_versions = array(
|
||||||
$server_version => true,
|
$server_version => true,
|
||||||
// NOTE: Version 5 of the server can support either version 4 or
|
// Client version 5 introduced "user.query" call
|
||||||
// version 5 of the client; the breaking change was the introduction
|
|
||||||
// of a "user.query" call in client version 5.
|
|
||||||
4 => true,
|
4 => true,
|
||||||
|
// Client version 6 introduced "diffusion.getlintmessages" call
|
||||||
|
5 => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (empty($supported_versions[$client_version])) {
|
if (empty($supported_versions[$client_version])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user