Suppression code inutile

This commit is contained in:
Jean-Christophe Engel 2026-01-05 15:19:17 +01:00
parent 109b280b90
commit 0834ff7ba3
2 changed files with 4 additions and 8 deletions

View file

@ -22,8 +22,6 @@ $signature =
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . $plugin->getConfig('signature') :
"");
// http://test.paheko.bzh/config/cavalier.png
error_log('signature = ' . $signature);
// logo
$config = Config::getInstance();
$logo_asso =
@ -210,9 +208,9 @@ function genererRecusPDF($totalPersonnes,
);
//supprimer les fichiers pdf
// foreach ($listeFichiersPDF as $f) {
// \Paheko\Utils::safe_unlink($f);
// }
foreach ($listeFichiersPDF as $f) {
\Paheko\Utils::safe_unlink($f);
}
} // genererRecusPDF
function generererRecusHTML($tpl,

View file

@ -285,10 +285,8 @@ function verifierCases(conteneur, type, message) {
*/
function changerStyle(document) {
let styles = document.querySelectorAll('link[rel="stylesheet"]');
// console.log(styles);
for (let sheet of styles) {
if (sheet.href.includes('print.css')) { sheet.media = "tv"; sheet.remove; }
if (sheet.href.includes('print.css')) { sheet.media = "tv"; }
if (sheet.href.includes('imprimer_recu.css')) { sheet.media = 'print'; }
}
// console.log(styles);
}