View | Details | Raw Unified | Return to bug 7639
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 7072-7078 $DBversion = "3.13.00.XXX"; Link Here
7072
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
7072
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
7073
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostForgiveFine','0',NULL,'If ON, Forgives the fines on an item when it is lost.','YesNo')");
7073
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostForgiveFine','0',NULL,'If ON, Forgives the fines on an item when it is lost.','YesNo')");
7074
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostChargeReplacementFee','1',NULL,'If ON, Charge the replacement price when a patron loses an item.','YesNo')");
7074
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostChargeReplacementFee','1',NULL,'If ON, Charge the replacement price when a patron loses an item.','YesNo')");
7075
    print "Upgrade to $DBversion done (Bug 7639: Added sysprefs WhenLostForgiveFine and WhenLostChargeReplacementFee)\n";
7075
    print "Upgrade to $DBversion done (Bug 7639: system preferences to forgive fines on lost items)\n";
7076
    SetVersion ($DBversion);
7076
    SetVersion ($DBversion);
7077
}
7077
}
7078
7078
7079
- 

Return to bug 7639