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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 418-420 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
418
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo');
418
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('Persona',0,'Use Mozilla Persona for login','','YesNo');
419
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');
419
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('OpacItemLocation','callnum','Show the shelving location of items in the opac','callnum|ccode|location','Choice');
420
INSERT INTO systempreferences (variable,value,explanation,options,type)  VALUES('TrackClicks','0','Track links clicked',NULL,'Integer');
420
INSERT INTO systempreferences (variable,value,explanation,options,type)  VALUES('TrackClicks','0','Track links clicked',NULL,'Integer');
421
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('ConfirmFutureHolds','0','Number of days for confirming future holds','','Integer');
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +8 lines)
Lines 6477-6482 if ( CheckVersion($DBversion) ) { Link Here
6477
}
6477
}
6478
6478
6479
6479
6480
$DBversion ="3.11.00.XXX";
6481
if ( CheckVersion($DBversion) ) {
6482
    $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('ConfirmFutureHolds','0','Number of days for confirming future holds','','Integer');");
6483
    print "Upgrade to $DBversion done (Bug 9761: Add ConfirmFutureHolds pref)\n";
6484
    SetVersion($DBversion);
6485
}
6486
6487
6480
=head1 FUNCTIONS
6488
=head1 FUNCTIONS
6481
6489
6482
=head2 TableExists($table)
6490
=head2 TableExists($table)
6483
- 

Return to bug 9761