From 08a9e0f22aff28576c18089139fa103faae197e5 Mon Sep 17 00:00:00 2001 From: Aviv Eyal Date: Tue, 26 May 2015 11:22:04 -0700 Subject: [PATCH] Hide Land to GitHub Summary: We don't want to support this right now, so disable it, similar to "Land To Hosted" feature. Keep to the code as an example for advanced installs. Ref T182, T8313 Test Plan: load a diff. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T182, T8313 Differential Revision: https://secure.phabricator.com/D13022 --- .../landing/DifferentialGitHubLandingStrategy.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/applications/differential/landing/DifferentialGitHubLandingStrategy.php b/src/applications/differential/landing/DifferentialGitHubLandingStrategy.php index c805083cd4..b4ff727cbe 100644 --- a/src/applications/differential/landing/DifferentialGitHubLandingStrategy.php +++ b/src/applications/differential/landing/DifferentialGitHubLandingStrategy.php @@ -47,6 +47,11 @@ final class DifferentialGitHubLandingStrategy DifferentialRevision $revision, PhabricatorRepository $repository) { + // TODO: This temporarily disables this action, because it doesn't work + // and is confusing to users. If you want to use it, comment out this line + // for now and we'll provide real support eventually. + return; + $vcs = $repository->getVersionControlSystem(); if ($vcs !== PhabricatorRepositoryType::REPOSITORY_TYPE_GIT) { return;