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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +4 lines)
Lines 441-445 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
441
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
441
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
442
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
442
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
443
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
443
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
444
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
444
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
445
('defaultlongoverduechargevalue', NULL, NULL, "Charge a lost item to the borrower's account when the LOST value of the item changes to n.", 'integer');
446
('defaultlongoverduedays', NULL, NULL, "Set the LOST value of an item when the item has been overdue for more than n days.", 'integer');
447
('defaultlongoverduelostvalue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer');
445
;
448
;
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +9 lines)
Lines 8603-8611 if ( CheckVersion($DBversion) ) { Link Here
8603
    SetVersion($DBversion);
8603
    SetVersion($DBversion);
8604
}
8604
}
8605
8605
8606
$DBversion = "XXX";
8607
if( CheckVersion($DBversion) ){
8608
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduechargevalue','Charge a lost item to the borrower account when the LOST value of the item changes to n',  'integer')");
8609
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduelostvalue', 'Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.', 'integer')");
8610
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduedays', 'Set the LOST value of an item when the item has been overdue for more than n days.',  'integer')");
8611
    print "Upgrade to $DBversion done (System preferences for longoverdue cron)\n";
8612
    SetVersion($DBversion);
8613
}
8606
=head1 FUNCTIONS
8614
=head1 FUNCTIONS
8607
8615
8608
=head2 TableExists($table)
8616
=head2 TableExists($table)
8617
a
8609
8618
8610
=cut
8619
=cut
8611
8620
8612
- 

Return to bug 8337