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

(-)a/installer/data/mysql/atomicupdate/bug_27981.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(
4
        q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('autoControlNumber','OFF','biblionumber|OFF',
5
        'Used to autogenerate a Control Number: biblionumber will be as biblionumber; OFF will leave it as is','Choice');}
6
    );
7
8
    NewVersion( $DBversion, 27981, "Make it possible to force 001 = biblionumber");
9
}
(-)a/installer/data/mysql/atomicupdate/bug_9921.perl (-12 lines)
Lines 1-11 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" );
4
    $dbh->do(
5
        q{INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES ('autoControlNumber','OFF','biblionumber|OFF',
6
        'Used to autogenerate a Control Number: biblionumber will be as biblionumber; OFF will leave it as is','Choice');}
7
    );
8
9
    # Always end with this (adjust the bug info)
10
    NewVersion( $DBversion, 9921, "Make it possible to force 001 = biblionumber");
11
}
12
- 

Return to bug 27981