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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 7048-7054 $DBversion = "3.13.00.XXX"; Link Here
7048
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
7048
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
7049
    $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')");
7049
    $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')");
7050
    $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')");
7050
    $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')");
7051
    print "Upgrade to $DBversion done (Added sysprefs WhenLostForgiveFine and WhenLostChargeReplacementFee)\n";
7051
    print "Upgrade to $DBversion done (Bug 7639 - system preference to forgive fines on lost items)\n";
7052
    SetVersion ($DBversion);
7052
    SetVersion ($DBversion);
7053
}
7053
}
7054
7054
7055
- 

Return to bug 7639