Rimozione file plugin

This commit is contained in:
MatteoPistorello 2022-03-28 16:31:01 +02:00
parent 095ff478ad
commit 518f78a957
1 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,17 @@
<?php
// File e cartelle deprecate
$files = [
'modules/anagrafiche/plugins/contratti_cliente.php',
];
foreach ($files as $key => $value) {
$files[$key] = realpath(base_dir().'/'.$value);
}
delete($files);
$fascie_orarie = $database->fetchArray('SELECT * FROM in_fasceorarie');
$tipi_intervento = $database->fetchArray('SELECT * FROM in_tipiintervento');