1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 14:21:02 +01:00

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:
vrana 2012-12-03 17:58:01 -08:00
parent aa4ac462c3
commit 1536b8a19c

View file

@ -73,13 +73,13 @@ final class ConduitAPI_conduit_connect_Method extends ConduitAPIMethod {
switch ($client) {
case 'arc':
$server_version = 5;
$server_version = 6;
$supported_versions = array(
$server_version => true,
// NOTE: Version 5 of the server can support either version 4 or
// version 5 of the client; the breaking change was the introduction
// of a "user.query" call in client version 5.
// Client version 5 introduced "user.query" call
4 => true,
// Client version 6 introduced "diffusion.getlintmessages" call
5 => true,
);
if (empty($supported_versions[$client_version])) {