Page MenuHomePhorge

D5151.1775521815.diff
No OneTemporary

Authored By
Unknown
Size
697 B
Referenced Files
None
Subscribers
None

D5151.1775521815.diff

diff --git a/src/app/DataMigrator/Driver/Takeout.php b/src/app/DataMigrator/Driver/Takeout.php
--- a/src/app/DataMigrator/Driver/Takeout.php
+++ b/src/app/DataMigrator/Driver/Takeout.php
@@ -257,7 +257,11 @@
// Use the same location as in the DataMigrator Engine
$location = storage_path('export/') . $this->account->email;
- // TODO: Skip this if the file was already extracted, e.g. in async mode
+ if (is_dir($location)) {
+ $this->engine->debug("ZIP archive is already extracted at {$location}");
+ $this->location = "{$location}/Takeout";
+ return;
+ }
$this->engine->debug("Extracting ZIP archive...");

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 12:30 AM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18831062
Default Alt Text
D5151.1775521815.diff (697 B)

Event Timeline