if ( !(volume instanceof ExternalVolume) ) {
if ( imageFile != null && !imageFile.delete() ) {
log.error( "File " + imageFile.getAbsolutePath() + " could not be deleted" );
}
}
txw.commit();
}
/**
Attempts to delete the instance
@param deleteFromExtVol If true, the instance is deleted even if it resides