]> _ Git - fluidbook_tools.git/commitdiff
wip #7005
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jul 2024 13:41:40 +0000 (15:41 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jul 2024 13:41:40 +0000 (15:41 +0200)
src/Jobs/ProcessFile.php

index fe036b6a70db73c5bf3588432e1cac759b1e4d1f..6cf03dcd8da56ca355df0e2b4f9b98247a21815d 100644 (file)
@@ -269,9 +269,6 @@ class ProcessFile
             return $svgFile;
         }
         PDFTools::makeBaseSVGFile($this->getSplittedPDFPage(), $svgFile, 1);
-        if (file_exists($svgFile) && filesize($svgFile) == 0) {
-            file_put_contents($svgFile, static::EMPTY_SVG);
-        }
         return $svgFile;
     }