]> _ Git - odl.git/commitdiff
wip #5122
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Feb 2022 15:31:50 +0000 (16:31 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Feb 2022 15:31:50 +0000 (16:31 +0100)
app/Jobs/ProcessFluidbook.php

index cd7b87adb05a46baac6f40f9e48b3ad4c273f5cc..d4b0bf159d96f7084319d6e3547af3c2ff5e3fb2 100644 (file)
@@ -36,15 +36,6 @@ class ProcessFluidbook extends Compiler
             Zip::extract($precompiled, $this->stub);
         }
         $this->out = storage_path('fluidbook/out/');
-
-        /** @var Media $demo */
-        $fdemo = $this->pub->getMediaInField($this->pub->getAttributeValue('animdemo'))->first();
-        if ($fdemo) {
-            $demo = $fdemo->getPath();
-            $path = storage_path('fluidbook/demo/');
-            Files::rmdir($path);
-            Zip::extract($demo, $path);
-        }
     }
 
     /**