Differential D14073 Diff 34741 src/applications/people/controller/PhabricatorPeopleDeleteController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/controller/PhabricatorPeopleDeleteController.php
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | $str3 = pht( | ||||
'so on), but less safe to delete established users. If possible, '. | 'so on), but less safe to delete established users. If possible, '. | ||||
'disable them instead.'); | 'disable them instead.'); | ||||
$str4 = pht('To permanently destroy this user, run this command:'); | $str4 = pht('To permanently destroy this user, run this command:'); | ||||
$form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
->setUser($admin) | ->setUser($admin) | ||||
->appendRemarkupInstructions( | ->appendRemarkupInstructions( | ||||
pht( | csprintf( | ||||
" phabricator/ $ ./bin/remove destroy %s\n", | " phabricator/ $ ./bin/remove destroy %R\n", | ||||
csprintf('%R', '@'.$user->getUsername()))); | '@'.$user->getUsername())); | ||||
return $this->newDialog() | return $this->newDialog() | ||||
->setWidth(AphrontDialogView::WIDTH_FORM) | ->setWidth(AphrontDialogView::WIDTH_FORM) | ||||
->setTitle(pht('Permanently Delete User')) | ->setTitle(pht('Permanently Delete User')) | ||||
->setShortTitle(pht('Delete User')) | ->setShortTitle(pht('Delete User')) | ||||
->appendParagraph($str1) | ->appendParagraph($str1) | ||||
->appendParagraph($str2) | ->appendParagraph($str2) | ||||
->appendParagraph($str3) | ->appendParagraph($str3) | ||||
Show All 18 Lines |