From: Vincent Vanwaelscappel Date: Mon, 28 Feb 2022 15:31:50 +0000 (+0100) Subject: wip #5122 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=667b610b457e0a31c761ed229a5789dd21340f23;p=odl.git wip #5122 --- diff --git a/app/Jobs/ProcessFluidbook.php b/app/Jobs/ProcessFluidbook.php index cd7b87a..d4b0bf1 100644 --- a/app/Jobs/ProcessFluidbook.php +++ b/app/Jobs/ProcessFluidbook.php @@ -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); - } } /**