Remove dead link to Perforce blog about Git Fusion
Summary: Fixes T9941. I think someone from Perforce emailed us about 10 years ago and I added this link in response, but I haven't seen other interest in Perforce since then. Link is now dead.
Test Plan:
- {nav Diffusion > Create Repository > Import Existing}, no more Perforce link.
- Grepped for `perforce`.
Reviewers: chad
Reviewed By: chad
Maniphest Tasks: T9941
Differential Revision: https://secure.phabricator.com/D14720
This commit is contained in:
@@ -323,25 +323,6 @@ final class DiffusionRepositoryCreateController
|
|||||||
pht('Subversion'),
|
pht('Subversion'),
|
||||||
$svn_str);
|
$svn_str);
|
||||||
|
|
||||||
if ($is_import) {
|
|
||||||
$control->addButton(
|
|
||||||
PhabricatorRepositoryType::REPOSITORY_TYPE_PERFORCE,
|
|
||||||
pht('Perforce'),
|
|
||||||
pht(
|
|
||||||
'Perforce is not directly supported, but you can import '.
|
|
||||||
'a Perforce repository as a Git repository using %s.',
|
|
||||||
phutil_tag(
|
|
||||||
'a',
|
|
||||||
array(
|
|
||||||
'href' =>
|
|
||||||
'http://www.perforce.com/product/components/git-fusion',
|
|
||||||
'target' => '_blank',
|
|
||||||
),
|
|
||||||
pht('Perforce Git Fusion'))),
|
|
||||||
'disabled',
|
|
||||||
$disabled = true);
|
|
||||||
}
|
|
||||||
|
|
||||||
return id(new PHUIFormPageView())
|
return id(new PHUIFormPageView())
|
||||||
->setPageName(pht('Repository Type'))
|
->setPageName(pht('Repository Type'))
|
||||||
->setUser($this->getRequest()->getUser())
|
->setUser($this->getRequest()->getUser())
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ final class PhabricatorRepositoryType extends Phobject {
|
|||||||
const REPOSITORY_TYPE_GIT = 'git';
|
const REPOSITORY_TYPE_GIT = 'git';
|
||||||
const REPOSITORY_TYPE_SVN = 'svn';
|
const REPOSITORY_TYPE_SVN = 'svn';
|
||||||
const REPOSITORY_TYPE_MERCURIAL = 'hg';
|
const REPOSITORY_TYPE_MERCURIAL = 'hg';
|
||||||
const REPOSITORY_TYPE_PERFORCE = 'p4';
|
|
||||||
|
|
||||||
public static function getAllRepositoryTypes() {
|
public static function getAllRepositoryTypes() {
|
||||||
static $map = array(
|
static $map = array(
|
||||||
|
|||||||
Reference in New Issue
Block a user