mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-08 18:34:47 +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,
|
DifferentialRevision $revision,
|
||||||
PhabricatorRepository $repository) {
|
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();
|
$vcs = $repository->getVersionControlSystem();
|
||||||
if ($vcs !== PhabricatorRepositoryType::REPOSITORY_TYPE_GIT) {
|
if ($vcs !== PhabricatorRepositoryType::REPOSITORY_TYPE_GIT) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue