mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Remove duplicate "Change Default Values" action in form editing workflow
Summary: Fixes T12434. I accidentally copy/pasted this too much in D17442. Test Plan: Viewed a form edit page, no longer saw two copies of this action. Reviewers: chad, cspeckmim Reviewed By: chad, cspeckmim Maniphest Tasks: T12434 Differential Revision: https://secure.phabricator.com/D17530
This commit is contained in:
parent
5e423c5fe0
commit
3d35d6d3f9
1 changed files with 0 additions and 9 deletions
|
@ -163,15 +163,6 @@ final class PhabricatorEditEngineConfigurationViewController
|
||||||
->setDisabled(!$can_edit));
|
->setDisabled(!$can_edit));
|
||||||
}
|
}
|
||||||
|
|
||||||
$curtain->addAction(
|
|
||||||
id(new PhabricatorActionView())
|
|
||||||
->setName(pht('Change Default Values'))
|
|
||||||
->setIcon('fa-paint-brush')
|
|
||||||
->setHref($defaults_uri)
|
|
||||||
->setWorkflow(!$can_edit)
|
|
||||||
->setDisabled(!$can_edit));
|
|
||||||
|
|
||||||
|
|
||||||
$disable_uri = "{$base_uri}/disable/{$form_key}/";
|
$disable_uri = "{$base_uri}/disable/{$form_key}/";
|
||||||
|
|
||||||
if ($config->getIsDisabled()) {
|
if ($config->getIsDisabled()) {
|
||||||
|
|
Loading…
Reference in a new issue