|
@@ -48,9 +48,9 @@ |
|
|
block discarded – undo |
|
48
|
48
|
echo 'CCCC'; |
|
49
|
49
|
if ('_Versions' === substr((string) $tableName, -9) || $specialCase) { |
|
50
|
50
|
echo 'AAA'; |
|
51
|
|
- $nonVersionedTable = substr((string) $tableName, 0, strlen( (string) $tableName) - 9); |
|
|
51
|
+ $nonVersionedTable = substr((string) $tableName, 0, strlen((string) $tableName) - 9); |
|
52
|
52
|
echo 'BBB'; |
|
53
|
|
- if ($this->hasTable($nonVersionedTable) || $specialCase) { |
|
|
53
|
+ if ($this->hasTable($nonVersionedTable) || $specialCase) { |
|
54
|
54
|
$this->truncateTable($tableName); |
|
55
|
55
|
if ($leaveLastVersion) { |
|
56
|
56
|
$fields = $this->getAllFieldsForOneTable($nonVersionedTable); |
Please login to merge, or discard this patch.