Bug 26734: (QA follow-up) Add warning to database update

This patch adds a warning to the database update to highlight to the
user which notices have been updated and that a backup exists.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2021-04-15 16:31:26 +01:00 committed by Jonathan Druart
parent a0327fa6bc
commit f38832d95b
1 changed files with 1 additions and 0 deletions

View File

@ -159,4 +159,5 @@ if ( CheckVersion($DBversion) ) {
$d_insert->execute($d_notice);
NewVersion( $DBversion, 26734, "Update notices to use defaults" );
warn "Warning - ACCOUNT_DEBIT and ACCOUNT_CREDIT slip templates have been replaced. Backups have been made to the action logs for your reference.";
}