Differential D15941 Diff 38386 src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | $console->writeOut( | ||||
pht( | pht( | ||||
'Destroying objects may cause related objects to stop working, '. | 'Destroying objects may cause related objects to stop working, '. | ||||
'and may leave scattered references to objects which no longer '. | 'and may leave scattered references to objects which no longer '. | ||||
'exist. In most cases, it is much better to disable or archive '. | 'exist. In most cases, it is much better to disable or archive '. | ||||
'objects instead of destroying them. This risk is greatest when '. | 'objects instead of destroying them. This risk is greatest when '. | ||||
'deleting complex or highly connected objects like repositories, '. | 'deleting complex or highly connected objects like repositories, '. | ||||
'projects and users.'. | 'projects and users.'. | ||||
"\n\n". | "\n\n". | ||||
'These tattered edges are an expected consquence of destroying '. | 'These tattered edges are an expected consequence of destroying '. | ||||
'objects, and the Phabricator upstream will not help you fix '. | 'objects, and the Phabricator upstream will not help you fix '. | ||||
'them. We strongly recomend disabling or archiving objects '. | 'them. We strongly recommend disabling or archiving objects '. | ||||
'instead.'))); | 'instead.'))); | ||||
$phids = mpull($named_objects, 'getPHID'); | $phids = mpull($named_objects, 'getPHID'); | ||||
$handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids); | $handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids); | ||||
$console->writeOut( | $console->writeOut( | ||||
pht( | pht( | ||||
'These %s object(s) will be destroyed forever:', | 'These %s object(s) will be destroyed forever:', | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |