Differential D21790 Diff 51946 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 103 Lines • ▼ Show 20 Lines | $console->writeOut( | ||||
'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 consequence of destroying '. | 'These tattered edges are an expected consequence of destroying '. | ||||
'objects, and the Phabricator upstream will not help you fix '. | 'objects, and the upstream will not help you fix them. We '. | ||||
'them. We strongly recommend disabling or archiving objects '. | '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:', | ||||
phutil_count($named_objects))."\n\n"); | phutil_count($named_objects))."\n\n"); | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |