Bug 14048 [QA Followup] - Delete only the removed system preference

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jason Robb <jrobb@sekls.org>
Signed-off-by: Jennifer Schmidt <jschmidt@switchinc.org>
Signed-off-by: Margaret Thrasher <p.thrasher@dover.nh.gov>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2016-06-13 11:17:42 +00:00 committed by Jesse Weaver
parent d8e186a7a9
commit d4d550237a

View file

@ -14,7 +14,7 @@ VALUES( 'RefundLostOnReturnControl',
INSERT INTO refund_lost_item_fee_rules (branchcode,refund)
SELECT '*', COALESCE(value,'1') FROM systempreferences WHERE variable='RefundLostItemFeeOnReturn';
DELETE IGNORE FROM systempreferences;
DELETE FROM systempreferences WHERE variable = 'RefundLostItemFeeOnReturn';
-- $DBversion = "16.06.00.XXX";
-- if ( CheckVersion($DBversion) ) {