INSERTIGNOREINTOsystempreferences(variable,value,explanation,options,type)VALUES('PatronSelfRegistrationAdditionalInstructions','','A free text field to display additional instructions to newly self registered patrons.','','free');
INSERTINTOsystempreferences(variable,value,explanation,options,type)VALUES('UseQueryParser','0','If enabled, try to use QueryParser for queries.',NULL,'YesNo');
INSERTINTOsystempreferences(variable,value,explanation,options,type)VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');
@ -6477,6 +6477,13 @@ if ( CheckVersion($DBversion) ) {
SetVersion($DBversion);
}
$DBversion="3.11.00.030";
if(CheckVersion($DBversion)){
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('FinesIncludeGracePeriod','1','If enabled, fines calculations will include the grace period.',NULL,'YesNo');");
print"Upgrade to $DBversion done (Add system preference FinesIncludeGracePeriod)\n";