@@ -363,7 +363,7 @@ |
||
| 363 | 363 | $totalSizeAfter = 0; |
| 364 | 364 | usort( |
| 365 | 365 | $this->data, |
| 366 | - function ($a, $b) { |
|
| 366 | + function($a, $b) { |
|
| 367 | 367 | return $b['SizeBefore'] <=> $a['SizeBefore']; |
| 368 | 368 | } |
| 369 | 369 | ); |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $specialCase = in_array($tableName, ['ChangeSet', 'ChangeSetItem', 'ChangeSetItem_ReferencedBy']); |
| 48 | 48 | if ('_Versions' === substr((string) $tableName, -9) || $specialCase) { |
| 49 | 49 | $nonVersionedTable = substr((string) $tableName, 0, strlen((string) $tableName) - 9); |
| 50 | - if ($this->hasTable($nonVersionedTable) || $specialCase) { |
|
| 50 | + if ($this->hasTable($nonVersionedTable) || $specialCase) { |
|
| 51 | 51 | $this->truncateTable($tableName); |
| 52 | 52 | if ($leaveLastVersion) { |
| 53 | 53 | $fields = $this->getAllFieldsForOneTable($nonVersionedTable); |