Page MenuHomePhorge

D5151.1775259924.diff
No OneTemporary

Authored By
Unknown
Size
697 B
Referenced Files
None
Subscribers
None

D5151.1775259924.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
@@ -277,7 +277,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
Fri, Apr 3, 11:45 PM (11 m, 4 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18803292
Default Alt Text
D5151.1775259924.diff (697 B)

Event Timeline