Differential D14073 Diff 34742 src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php
| Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | if ($dry_run) { | ||||
| pht( | pht( | ||||
| "Found %s issues(s) with schemata, detailed above.\n\n". | "Found %s issues(s) with schemata, detailed above.\n\n". | ||||
| "You can review issues in more detail from the web interface, ". | "You can review issues in more detail from the web interface, ". | ||||
| "in Config > Database Status. To better understand the adjustment ". | "in Config > Database Status. To better understand the adjustment ". | ||||
| "workflow, see \"Managing Storage Adjustments\" in the ". | "workflow, see \"Managing Storage Adjustments\" in the ". | ||||
| "documentation.\n\n". | "documentation.\n\n". | ||||
| "MySQL needs to copy table data to make some adjustments, so these ". | "MySQL needs to copy table data to make some adjustments, so these ". | ||||
| "migrations may take some time.", | "migrations may take some time.", | ||||
| new PhutilNumber(count($adjustments)))); | phutil_count($adjustments))); | ||||
| $prompt = pht('Fix these schema issues?'); | $prompt = pht('Fix these schema issues?'); | ||||
| if (!phutil_console_confirm($prompt, $default_no = true)) { | if (!phutil_console_confirm($prompt, $default_no = true)) { | ||||
| return 1; | return 1; | ||||
| } | } | ||||
| } | } | ||||
| $console->writeOut( | $console->writeOut( | ||||
| ▲ Show 20 Lines • Show All 546 Lines • Show Last 20 Lines | |||||