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

(-)a/installer/data/mysql/atomicupdate/bug_5572-add-AuthCleanBiblio-pref.sql (+12 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
2
VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo');
3
4
-- $DBversion = "3.23.00.XXX";
5
-- if ( CheckVersion($DBversion) ) {
6
--    $dbh->do(q{
7
--        INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
8
--        VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo')
9
--     });
10
--     print "Upgrade to $DBversion done (Bug 5572: Cleaning attached biblio records when updating an authority)\n";
11
--     SetVersion($DBversion);
12
-- }
(-)a/installer/data/mysql/updatedatabase.pl (-11 lines)
Lines 11390-11405 if ( CheckVersion($DBversion) ) { Link Here
11390
    SetVersion ($DBversion);
11390
    SetVersion ($DBversion);
11391
}
11391
}
11392
11392
11393
$DBversion = "3.23.00.XXX";
11394
if ( CheckVersion($DBversion) ) {
11395
    $dbh->do(q{
11396
        INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
11397
        VALUES ('AuthCleanBiblios','0','If ON, attached biblio records related fields are cleaned when an authority is updated','','YesNo')
11398
    });
11399
    print "Upgrade to $DBversion done (Bug 5572: Cleaning attached biblio records when updating an authority)\n";
11400
    SetVersion($DBversion);
11401
}
11402
11403
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
11393
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
11404
# SEE bug 13068
11394
# SEE bug 13068
11405
# if there is anything in the atomicupdate, read and execute it.
11395
# if there is anything in the atomicupdate, read and execute it.
11406
- 

Return to bug 5572