mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Remove another old remarkup engine callsite in Config
Summary: Ref T13189. Summaries do not appear to be meaningfully rendered with Remarkup so just drop the engine. See D19610 for the previous change in this vein. Test Plan: Viewed config list with option summaries. Reviewers: amckinley Maniphest Tasks: T13189 Differential Revision: https://secure.phabricator.com/D19612
This commit is contained in:
parent
415de4ce37
commit
ee823982a4
1 changed files with 1 additions and 8 deletions
|
@ -60,17 +60,10 @@ final class PhabricatorConfigGroupController
|
||||||
$db_values = mpull($db_values, null, 'getConfigKey');
|
$db_values = mpull($db_values, null, 'getConfigKey');
|
||||||
}
|
}
|
||||||
|
|
||||||
$engine = id(new PhabricatorMarkupEngine())
|
|
||||||
->setViewer($this->getRequest()->getUser());
|
|
||||||
foreach ($options as $option) {
|
|
||||||
$engine->addObject($option, 'summary');
|
|
||||||
}
|
|
||||||
$engine->process();
|
|
||||||
|
|
||||||
$list = new PHUIObjectItemListView();
|
$list = new PHUIObjectItemListView();
|
||||||
$list->setBig(true);
|
$list->setBig(true);
|
||||||
foreach ($options as $option) {
|
foreach ($options as $option) {
|
||||||
$summary = $engine->getOutput($option, 'summary');
|
$summary = $option->getSummary();
|
||||||
|
|
||||||
$item = id(new PHUIObjectItemView())
|
$item = id(new PHUIObjectItemView())
|
||||||
->setHeader($option->getKey())
|
->setHeader($option->getKey())
|
||||||
|
|
Loading…
Reference in a new issue