From cbb2fdd003c53b9bff357b15ccda313aae9ebf16 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 15 Apr 2021 16:31:26 +0100 Subject: [PATCH] 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 --- installer/data/mysql/atomicupdate/bug_26734.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/data/mysql/atomicupdate/bug_26734.perl b/installer/data/mysql/atomicupdate/bug_26734.perl index 048f9368fe..975ec631d1 100644 --- a/installer/data/mysql/atomicupdate/bug_26734.perl +++ b/installer/data/mysql/atomicupdate/bug_26734.perl @@ -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."; } -- 2.20.1