1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Delete maniphest.enabled and phriction.enabled

Summary: @edward, you would need to delete these options from FB config to avoid setup warning.

Test Plan: /T1

Reviewers: epriestley, edward

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5620
This commit is contained in:
Jakub Vrana 2013-04-08 20:47:59 -07:00
parent 9da6c9ff15
commit c621da8e97
5 changed files with 0 additions and 33 deletions

View file

@ -1083,9 +1083,6 @@ return array(
// -- Maniphest ------------------------------------------------------------- // // -- Maniphest ------------------------------------------------------------- //
// Deprecated, use 'phabricator.uninstalled-applications' instead.
'maniphest.enabled' => true,
// Array of custom fields for Maniphest tasks. For details on adding custom // Array of custom fields for Maniphest tasks. For details on adding custom
// fields to Maniphest, see "Maniphest User Guide: Adding Custom Fields". // fields to Maniphest, see "Maniphest User Guide: Adding Custom Fields".
'maniphest.custom-fields' => array(), 'maniphest.custom-fields' => array(),
@ -1099,11 +1096,6 @@ return array(
// Defaults to "needs triage". // Defaults to "needs triage".
'maniphest.default-priority' => 90, 'maniphest.default-priority' => 90,
// -- Phriction ------------------------------------------------------------- //
// Deprecated, use 'phabricator.uninstalled-applications' instead.
'phriction.enabled' => true,
// -- Phame ----------------------------------------------------------------- // // -- Phame ----------------------------------------------------------------- //
// Should Phame users have Disqus comment widget, and if so what's the // Should Phame users have Disqus comment widget, and if so what's the

View file

@ -10,13 +10,6 @@ final class PhabricatorApplicationManiphest extends PhabricatorApplication {
return '/maniphest/'; return '/maniphest/';
} }
public function isInstalled() {
if (!PhabricatorEnv::getEnvConfig('maniphest.enabled')) {
return false;
}
return parent::isInstalled();
}
public function getIconName() { public function getIconName() {
return 'maniphest'; return 'maniphest';
} }

View file

@ -13,9 +13,6 @@ final class PhabricatorManiphestConfigOptions
public function getOptions() { public function getOptions() {
return array( return array(
$this->newOption('maniphest.enabled', 'bool', true)
->setDescription(pht(
"Deprecated, use 'phabricator.uninstalled-applications' instead.")),
$this->newOption('maniphest.custom-fields', 'wild', array()) $this->newOption('maniphest.custom-fields', 'wild', array())
->setSummary(pht("Custom Maniphest fields.")) ->setSummary(pht("Custom Maniphest fields."))
->setDescription( ->setDescription(

View file

@ -18,13 +18,6 @@ final class PhabricatorApplicationPhriction extends PhabricatorApplication {
return PhabricatorEnv::getDoclink('article/Phriction_User_Guide.html'); return PhabricatorEnv::getDoclink('article/Phriction_User_Guide.html');
} }
public function isInstalled() {
if (!PhabricatorEnv::getEnvConfig('phriction.enabled')) {
return false;
}
return parent::isInstalled();
}
public function getTitleGlyph() { public function getTitleGlyph() {
return "\xE2\x9A\xA1"; return "\xE2\x9A\xA1";
} }

View file

@ -13,14 +13,6 @@ final class PhabricatorPhrictionConfigOptions
public function getOptions() { public function getOptions() {
return array( return array(
$this->newOption('phriction.enabled', 'bool', true)
->setBoolOptions(
array(
pht("Enable Phriction"),
pht("Disable Phriction"),
))
->setDescription(pht(
"Deprecated, use 'phabricator.uninstalled-applications' instead.")),
$this->newOption( $this->newOption(
'metamta.phriction.subject-prefix', 'string', '[Phriction]') 'metamta.phriction.subject-prefix', 'string', '[Phriction]')
->setDescription(pht("Subject prefix for Phriction email.")), ->setDescription(pht("Subject prefix for Phriction email.")),