Page MenuHomePhorge

D5151.1774865691.diff
No OneTemporary

Authored By
Unknown
Size
697 B
Referenced Files
None
Subscribers
None

D5151.1774865691.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
Mon, Mar 30, 10:14 AM (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18803292
Default Alt Text
D5151.1774865691.diff (697 B)

Event Timeline