mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
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
This commit is contained in:
parent
b292c29dc3
commit
08a9e0f22a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue