Differential D13200 Diff 31965 src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php
| Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | while (true) { | ||||
| unset($patches[$key]); | unset($patches[$key]); | ||||
| $applied[$key] = true; | $applied[$key] = true; | ||||
| } | } | ||||
| if (!$applied_something) { | if (!$applied_something) { | ||||
| if (count($patches)) { | if (count($patches)) { | ||||
| throw new Exception( | throw new Exception( | ||||
| 'Some patches could not be applied: '. | pht( | ||||
| implode(', ', array_keys($patches))); | 'Some patches could not be applied: %s', | ||||
| implode(', ', array_keys($patches)))); | |||||
| } else if (!$is_dry && !$apply_only) { | } else if (!$is_dry && !$apply_only) { | ||||
| echo pht( | echo pht( | ||||
| "Storage is up to date. Use '%s' for details.\n", | "Storage is up to date. Use '%s' for details.", | ||||
| 'storage status'); | 'storage status')."\n"; | ||||
| } | } | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| $console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
| if ($no_adjust || $init_only || $apply_only) { | if ($no_adjust || $init_only || $apply_only) { | ||||
| $console->writeOut( | $console->writeOut( | ||||
| Show All 9 Lines | |||||