1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Maniphest "attach" actions should always have workflow

This commit is contained in:
epriestley 2013-10-01 12:01:55 -07:00
parent 120cc28dae
commit 27df293a96

View file

@ -472,7 +472,7 @@ final class ManiphestTaskDetailController extends ManiphestController {
->setWorkflow(true) ->setWorkflow(true)
->setIcon('link') ->setIcon('link')
->setDisabled(!$can_edit) ->setDisabled(!$can_edit)
->setWorkflow(!$can_edit)); ->setWorkflow(true));
$view->addAction( $view->addAction(
id(new PhabricatorActionView()) id(new PhabricatorActionView())
@ -481,7 +481,7 @@ final class ManiphestTaskDetailController extends ManiphestController {
->setWorkflow(true) ->setWorkflow(true)
->setIcon('attach') ->setIcon('attach')
->setDisabled(!$can_edit) ->setDisabled(!$can_edit)
->setWorkflow(!$can_edit)); ->setWorkflow(true));
$pholio_app = $pholio_app =
PhabricatorApplication::getByClass('PhabricatorApplicationPholio'); PhabricatorApplication::getByClass('PhabricatorApplicationPholio');
@ -493,7 +493,7 @@ final class ManiphestTaskDetailController extends ManiphestController {
->setWorkflow(true) ->setWorkflow(true)
->setIcon('attach') ->setIcon('attach')
->setDisabled(!$can_edit) ->setDisabled(!$can_edit)
->setWorkflow(!$can_edit)); ->setWorkflow(true));
} }
return $view; return $view;