Lines 5687-5704
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
5687 |
$DBversion = "3.09.00.XXX"; |
5687 |
$DBversion = "3.09.00.XXX"; |
5688 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
5688 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
5689 |
$dbh->do(qq{ |
5689 |
$dbh->do(qq{ |
5690 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('DontExportFields','','List of fields for non export in circulation.pl (separated by a space)','',''); |
5690 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('ExportRemoveFields','','List of fields for non export in circulation.pl (separated by a space)','',''); |
5691 |
}); |
5691 |
}); |
5692 |
print "Upgrade to $DBversion done (Add system preference DontExportFields)\n"; |
5692 |
print "Upgrade to $DBversion done (Add system preference ExportRemoveFields)\n"; |
5693 |
SetVersion($DBversion); |
5693 |
SetVersion($DBversion); |
5694 |
} |
5694 |
} |
5695 |
|
5695 |
|
5696 |
$DBversion = "3.09.00.XXX"; |
5696 |
$DBversion = "3.09.00.XXX"; |
5697 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
5697 |
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { |
5698 |
$dbh->do(qq{ |
5698 |
$dbh->do(qq{ |
5699 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('CsvProfileForExport','','Set a profile name for CSV export','',''); |
5699 |
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('ExportWithCsvProfile','','Set a profile name for CSV export','',''); |
5700 |
}); |
5700 |
}); |
5701 |
print "Upgrade to $DBversion done (Adds New System preference CsvProfileForExport)\n"; |
5701 |
print "Upgrade to $DBversion done (Adds New System preference ExportWithCsvProfile)\n"; |
5702 |
SetVersion($DBversion) |
5702 |
SetVersion($DBversion) |
5703 |
} |
5703 |
} |
5704 |
|
5704 |
|