Skip to content

Commit 3817102

Browse files
authored
Merge pull request #108 from utopia-php/dat-664
removed duplicate calls to export buckets
2 parents 0e4499d + 0ded32f commit 3817102

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Migration/Sources/Appwrite.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,22 +1159,6 @@ protected function exportGroupStorage(int $batchSize, array $resources): void
11591159
)
11601160
);
11611161
}
1162-
1163-
try {
1164-
if (in_array(Resource::TYPE_BUCKET, $resources)) {
1165-
$this->exportBuckets($batchSize);
1166-
}
1167-
} catch (\Throwable $e) {
1168-
$this->addError(
1169-
new Exception(
1170-
Resource::TYPE_BUCKET,
1171-
Transfer::GROUP_STORAGE,
1172-
message: $e->getMessage(),
1173-
code: $e->getCode(),
1174-
previous: $e
1175-
)
1176-
);
1177-
}
11781162
}
11791163

11801164
/**

0 commit comments

Comments
 (0)