From 97d8675f28379f6f18fe06acde599cb459f9211a Mon Sep 17 00:00:00 2001 From: valentina Date: Mon, 19 Aug 2024 14:18:53 +0200 Subject: [PATCH] Fix query --- update/2_5_3.php | 13 +------------ update/2_5_4.php | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 update/2_5_4.php diff --git a/update/2_5_3.php b/update/2_5_3.php index 33218bf2a..421601177 100644 --- a/update/2_5_3.php +++ b/update/2_5_3.php @@ -8,15 +8,4 @@ $has_name = database()->columnExists('zz_groups', 'name'); if ($has_name && $has_nome) { $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); \ No newline at end of file +} \ No newline at end of file diff --git a/update/2_5_4.php b/update/2_5_4.php new file mode 100644 index 000000000..8147b1c19 --- /dev/null +++ b/update/2_5_4.php @@ -0,0 +1,14 @@ + $value) { + $files[$key] = realpath(base_dir().'/'.$value); +} + +delete($files); \ No newline at end of file