1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3 # you can use $dbh here like:
4 $dbh->do( "UPDATE itemtypes SET imageurl = REPLACE (imageurl, '.gif', '.png') WHERE imageurl LIKE 'bridge/%'" );
6 # Always end with this (adjust the bug info)
7 SetVersion( $DBversion );
8 print "Upgrade to $DBversion done (Bug 23148: Replace Bridge icons with transparent PNG files)\n";