From e8e62f82ceaea7c6ef0c60ff1f6a47c08d56d7d1 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 8 Apr 2014 08:05:28 -0700 Subject: [PATCH] Hide "Land to hosted git" button for now Summary: Ref T182. This feature rarely/never works and is on the balance enormously confusing to users (see ). If installs have somehow made it sort of work, they can comment this line out for now until we have time to make this work more reasonably. Test Plan: Looked at a revision in Differential. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T182 Differential Revision: https://secure.phabricator.com/D8719 --- .../differential/landing/DifferentialLandingToHostedGit.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/applications/differential/landing/DifferentialLandingToHostedGit.php b/src/applications/differential/landing/DifferentialLandingToHostedGit.php index 8438492aba..3523486a90 100644 --- a/src/applications/differential/landing/DifferentialLandingToHostedGit.php +++ b/src/applications/differential/landing/DifferentialLandingToHostedGit.php @@ -123,6 +123,11 @@ final class DifferentialLandingToHostedGit return; } + // 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 evnetually. + return; + return $this->createActionView( $revision, pht('Land to Hosted Repository'));