2024-06-05 12:48:27 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
include_once __DIR__.'/core.php';
|
|
|
|
|
|
|
|
// Controllo se è presente il campo nome in zz_groups
|
|
|
|
$has_nome = database()->columnExists('zz_groups', 'nome');
|
|
|
|
$has_name = database()->columnExists('zz_groups', 'name');
|
|
|
|
|
|
|
|
if ($has_name && $has_nome) {
|
|
|
|
$database->query('ALTER TABLE `zz_groups` DROP `name`');
|
2024-06-25 09:40:41 +02:00
|
|
|
}
|
2024-08-09 17:00:52 +02:00
|
|
|
|
|
|
|
// File e cartelle deprecate
|
|
|
|
$files = [
|
|
|
|
'modules/interventi/src/API/v1/Articoli.php',
|
|
|
|
];
|
|
|
|
|
|
|
|
foreach ($files as $key => $value) {
|
|
|
|
$files[$key] = realpath(base_dir().'/'.$value);
|
|
|
|
}
|
|
|
|
|
|
|
|
delete($files);
|