Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117793120
D5151.1775259924.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
697 B
Referenced Files
None
Subscribers
None
D5151.1775259924.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5151: Skip the zip extraction if already available
Attached
Detach File
Event Timeline