1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
4 INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
6 ('UnsubscribeReflectionDelay','',NULL,'Delay for locking unsubscribers', 'Integer'),
7 ('PatronAnonymizeDelay','',NULL,'Delay for anonymizing patrons', 'Integer'),
8 ('PatronRemovalDelay','',NULL,'Delay for removing anonymized patrons', 'Integer')
10 SetVersion( $DBversion );
11 print "Upgrade to $DBversion done (Bug 21336 - Add preferences)\n";