From 45f1b99a1060ee43deb6055faef1f8b16b5d80a2 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 1 Sep 2023 12:00:23 +0200 Subject: =?UTF-8?q?section=203=20bient=C3=B4t=20termin=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/functions.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/functions.php') diff --git a/src/functions.php b/src/functions.php index c847403..47961f2 100644 --- a/src/functions.php +++ b/src/functions.php @@ -140,15 +140,3 @@ function getServices(Clients $Client) return $PrestaList[$input]; } } - - -function makeTexAndPdf(Object $Object) -{ - if(get_class($Object) !== 'EnveloppeVersoLatex') - { - makeFolder($Object->getLatexPath()); - makeFolder($Object->getPdfPath()); - } - makeFile($Object->getLatexPath(), $Object->getFileName(), $Object->getLatex()); // fichier .tex - latexToPdf($Object->getLatexPath(), $Object->getFileName(), $Object->getPdfPath()); // fichier .pdf avec pdflatex -} -- cgit v1.2.3