Bug 14642: Make sure the log will be written only if the hold has been deleted
[koha.git] / installer / data / mysql / atomicupdate / bug_14642_holds_logging.sql
1 INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
2 ('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
3
4 -- $DBversion = "16.06.00.XXX";
5 -- if ( CheckVersion($DBversion) ) {
6 --     $dbh->do(q{
7 --         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
8 --         ('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo');
9 --     });
10
11 --     print "Upgrade to $DBversion done (Bug 14642: Add logging of hold modifications)\n";
12 --     SetVersion($DBversion);
13 -- }