Differential D21781 Diff 51937 src/applications/config/controller/settings/PhabricatorConfigEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/settings/PhabricatorConfigEditController.php
Show All 12 Lines | if (empty($options[$key])) { | ||||
if (isset($ancient[$key])) { | if (isset($ancient[$key])) { | ||||
$desc = pht( | $desc = pht( | ||||
"This configuration has been removed. You can safely delete ". | "This configuration has been removed. You can safely delete ". | ||||
"it.\n\n%s", | "it.\n\n%s", | ||||
$ancient[$key]); | $ancient[$key]); | ||||
} else { | } else { | ||||
$desc = pht( | $desc = pht( | ||||
'This configuration option is unknown. It may be misspelled, '. | 'This configuration option is unknown. It may be misspelled, '. | ||||
'or have existed in a previous version of Phabricator.'); | 'or have existed in a previous version of the software.'); | ||||
} | } | ||||
// This may be a dead config entry, which existed in the past but no | // This may be a dead config entry, which existed in the past but no | ||||
// longer exists. Allow it to be edited so it can be reviewed and | // longer exists. Allow it to be edited so it can be reviewed and | ||||
// deleted. | // deleted. | ||||
$option = id(new PhabricatorConfigOption()) | $option = id(new PhabricatorConfigOption()) | ||||
->setKey($key) | ->setKey($key) | ||||
->setType('wild') | ->setType('wild') | ||||
▲ Show 20 Lines • Show All 443 Lines • Show Last 20 Lines |