Fix query

This commit is contained in:
valentina 2024-08-19 14:18:53 +02:00
parent 27fe71a10a
commit 97d8675f28
2 changed files with 15 additions and 12 deletions

View File

@ -8,15 +8,4 @@ $has_name = database()->columnExists('zz_groups', 'name');
if ($has_name && $has_nome) { if ($has_name && $has_nome) {
$database->query('ALTER TABLE `zz_groups` DROP `name`'); $database->query('ALTER TABLE `zz_groups` DROP `name`');
} }
// 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);

14
update/2_5_4.php Normal file
View File

@ -0,0 +1,14 @@
<?php
include_once __DIR__.'/core.php';
// 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);