Lines 20755-20760
if( CheckVersion( $DBversion ) ) {
Link Here
|
20755 |
credit_type_code = 'LOST_FOUND' |
20755 |
credit_type_code = 'LOST_FOUND' |
20756 |
WHERE |
20756 |
WHERE |
20757 |
credit_type_code = 'LOST_RETURN' |
20757 |
credit_type_code = 'LOST_RETURN' |
|
|
20758 |
OR |
20759 |
credit_type_code = 'LOST_RETURNED' |
20758 |
}); |
20760 |
}); |
20759 |
|
20761 |
|
20760 |
# Migrate LOST + RETURNED to LOST + FOUND |
20762 |
# Migrate LOST + RETURNED to LOST + FOUND |
Lines 20770-20775
if( CheckVersion( $DBversion ) ) {
Link Here
|
20770 |
}); |
20772 |
}); |
20771 |
|
20773 |
|
20772 |
# Drop LOST_RETURNED credit type |
20774 |
# Drop LOST_RETURNED credit type |
|
|
20775 |
$dbh->do(qq{ |
20776 |
DELETE FROM account_credit_types WHERE code = 'LOST_RETURNED' |
20777 |
}); |
20778 |
|
20779 |
# Drop LOST_RETURN credit type |
20773 |
$dbh->do(qq{ |
20780 |
$dbh->do(qq{ |
20774 |
DELETE FROM account_credit_types WHERE code = 'LOST_RETURN' |
20781 |
DELETE FROM account_credit_types WHERE code = 'LOST_RETURN' |
20775 |
}); |
20782 |
}); |
20776 |
- |
|
|