From eb2265fab8771cf7befa5d223d6f7d04cca98b87 Mon Sep 17 00:00:00 2001 From: JaTara Barnes Date: Wed, 8 Jan 2014 11:58:38 -0600 Subject: [PATCH] [SIGNED OFF] Bug 11415: Add syspref to toggle SCO receipt printing Toggled SCO receipt printing to be on by default for upgrades in updatedatabase.pl. Signed-off-by: Mark Tompsett --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index cf36fe3..e324198 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7914,7 +7914,7 @@ if ( CheckVersion($DBversion) ) { $DBversion = "3.15.00.XXX"; if(CheckVersion($DBversion)) { - $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('SelfCheckReceiptPrompt', '0', 'NULL', 'If ON, print receipt dialog pops up when self checkout is finished.', 'YesNo');"); + $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('SelfCheckReceiptPrompt', '1', 'NULL', 'If ON, print receipt dialog pops up when self checkout is finished.', 'YesNo');"); print "Upgrade to $DBversion done (Bug 11415: add system preference for self checkout receipt print)\n"; SetVersion($DBversion); } -- 1.7.9.5