Page MenuHomePhabricator

D14240.diff
No OneTemporary

D14240.diff

diff --git a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementProbeWorkflow.php b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementProbeWorkflow.php
--- a/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementProbeWorkflow.php
+++ b/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementProbeWorkflow.php
@@ -60,9 +60,9 @@
$overall);
$table->addRow(array(
- 'name' => phutil_console_format('**%s**', $db),
- 'size' => phutil_console_format('**%s**', $database_size),
- 'percentage' => phutil_console_format('**%s**', $database_percentage),
+ 'name' => tsprintf('**%s**', $db),
+ 'size' => tsprintf('**%s**', $database_size),
+ 'percentage' => tsprintf('**%s**', $database_percentage),
));
$data[$db] = isort($data[$db], '_totalSize');
foreach ($data[$db] as $table_name => $info) {
@@ -82,9 +82,9 @@
$overall,
$overall);
$table->addRow(array(
- 'name' => phutil_console_format('**%s**', pht('TOTAL')),
- 'size' => phutil_console_format('**%s**', $overall_size),
- 'percentage' => phutil_console_format('**%s**', $overall_percentage),
+ 'name' => tsprintf('**%s**', pht('TOTAL')),
+ 'size' => tsprintf('**%s**', $overall_size),
+ 'percentage' => tsprintf('**%s**', $overall_percentage),
));
$table->draw();

File Metadata

Mime Type
text/plain
Expires
Thu, May 9, 8:51 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6277276
Default Alt Text
D14240.diff (1 KB)

Event Timeline