1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
4 INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Account Fee' );
8 INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Hold Expired' );
11 SetVersion( $DBversion );
12 print "Upgrade to $DBversion done (Bug 21756 - Add 'Account Fee' and 'Hold Expired' to the account_offset_types table if missing)\n";