From 785a0d68e4792071718aea8a4f1035d25050e073 Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@theke.io>
Date: Fri, 23 Oct 2020 15:36:50 -0300
Subject: [PATCH] Bug 23971: (QA follow-up) New DBrev syntax

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
---
 installer/data/mysql/atomicupdate/bug_23971_AcqLog_pref.perl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/installer/data/mysql/atomicupdate/bug_23971_AcqLog_pref.perl b/installer/data/mysql/atomicupdate/bug_23971_AcqLog_pref.perl
index 7dd91b8b5b..ea23018b12 100644
--- a/installer/data/mysql/atomicupdate/bug_23971_AcqLog_pref.perl
+++ b/installer/data/mysql/atomicupdate/bug_23971_AcqLog_pref.perl
@@ -2,6 +2,5 @@ $DBversion = 'XXX'; # will be replaced by the RM
 if( CheckVersion( $DBversion ) ) {
     $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('AcqLog', '0', 'If enabled, log acquisition activity', '', 'YesNo'); | );
 
-    SetVersion( $DBversion );
-    print "Upgrade to $DBversion done (Bug 23971 - Add AcqLog syspref)\n";
+    NewVersion( $DBversion, 23971, "Add AcqLog syspref");
 }
-- 
2.20.1