From 667b610b457e0a31c761ed229a5789dd21340f23 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 28 Feb 2022 16:31:50 +0100 Subject: [PATCH] wip #5122 --- app/Jobs/ProcessFluidbook.php | 9 --------- 1 file changed, 9 deletions(-) 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); - } } /** -- 2.39.5