Differential D17020 Diff 41026 src/applications/meta/controller/PhabricatorApplicationUninstallController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/meta/controller/PhabricatorApplicationUninstallController.php
Show All 38 Lines | if ($selected->isPrototype() && !$prototypes_enabled) { | ||||
->setTitle(pht('Prototypes Not Enabled')) | ->setTitle(pht('Prototypes Not Enabled')) | ||||
->appendChild( | ->appendChild( | ||||
pht( | pht( | ||||
'To manage prototypes, enable them by setting %s in your '. | 'To manage prototypes, enable them by setting %s in your '. | ||||
'Phabricator configuration.', | 'Phabricator configuration.', | ||||
phutil_tag('tt', array(), 'phabricator.show-prototypes'))); | phutil_tag('tt', array(), 'phabricator.show-prototypes'))); | ||||
return id(new AphrontDialogResponse())->setDialog($dialog); | return id(new AphrontDialogResponse())->setDialog($dialog); | ||||
} | } | ||||
phlog($view_uri); | |||||
if ($request->isDialogFormPost()) { | if ($request->isDialogFormPost()) { | ||||
$this->manageApplication(); | $this->manageApplication(); | ||||
return id(new AphrontRedirectResponse())->setURI($view_uri); | return id(new AphrontRedirectResponse())->setURI($view_uri); | ||||
} | } | ||||
if ($this->action == 'install') { | if ($this->action == 'install') { | ||||
if ($selected->canUninstall()) { | if ($selected->canUninstall()) { | ||||
$dialog | $dialog | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |