From f78fd5ad90e63a65c4720183bf14686823015a88 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Wed, 7 Jun 2023 11:16:15 +0200
Subject: [PATCH] Bug 33935: (bug 26403 follow-up) Remove occurrences to
deleted files
account_credit_types.sql and account_debit_types.sql have been moved to yml files but there are still references to them in C4::Installer.
If you select the files during the installer process it will explode with
Test plan:
DROP database koha_kohadev
CREATE database koha_kohadev
restart_all
then install Koha using the UI
Select all the sample data files
---
C4/Installer.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/C4/Installer.pm b/C4/Installer.pm
index 7c6ae3443c6..9a587cac0f4 100644
--- a/C4/Installer.pm
+++ b/C4/Installer.pm
@@ -369,8 +369,6 @@ sub load_sql_in_order {
push @fnames, "$global_mandatory_dir/userflags.sql",
"$global_mandatory_dir/userpermissions.sql",
"$global_mandatory_dir/audio_alerts.sql",
- "$global_mandatory_dir/account_credit_types.sql",
- "$global_mandatory_dir/account_debit_types.sql",
;
my $localization_file = C4::Context->config('intranetdir') .
"/installer/data/$self->{dbms}/localization/$langchoice/custom.sql";
--
2.25.1