1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

List both hosted and observed repositories in "Cluster Repository Status" configuration console

Summary:
When I wrote this the first time, only hosted repositories could be clustered.

This check wasn't removed when I allowed observed repositories to be clustered in D15986.

Test Plan:
Reloaded {nav Config > Repository Servers} page, saw more stuff locally.

Reviewed the cardinal digits between 1 and 17, inclusive.

Reviewers: chad, avivey

Reviewed By: avivey

Differential Revision: https://secure.phabricator.com/D16392
This commit is contained in:
epriestley 2016-08-11 16:14:17 -07:00
parent ca78c1825a
commit 67861ec197

View file

@ -43,7 +43,6 @@ final class PhabricatorConfigClusterRepositoriesController
$all_repositories = id(new PhabricatorRepositoryQuery()) $all_repositories = id(new PhabricatorRepositoryQuery())
->setViewer($viewer) ->setViewer($viewer)
->withHosted(PhabricatorRepositoryQuery::HOSTED_PHABRICATOR)
->withTypes( ->withTypes(
array( array(
PhabricatorRepositoryType::REPOSITORY_TYPE_GIT, PhabricatorRepositoryType::REPOSITORY_TYPE_GIT,