1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
4 # Migrate LOST_RETURNED to LOST_FOUND
9 credit_type_code = 'LOST_FOUND'
11 credit_type_code = 'LOST_RETURNED'
14 # Drop LOST_RETURNED credit type
16 DELETE FROM account_credit_types WHERE code = 'LOST_RETURNED'
19 NewVersion( $DBversion, 25389, "Catch errant cases of LOST_RETURNED");