[mb-commits] branch, beta, updated. MBS-5432 temporary fix: revert cover art types i18n where it was causing brea...
MusicBrainz Git Server <[email protected]>
| Newsgroups | gmane.comp.audio.musicbrainz.cvs |
|---|---|
| Message-ID | <E1TfGpi-0000xS-6S@wiley> |
The branch, beta has been updated
via http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=d816f942c0e6431c7d00df3244a3781bcc4ebe37 (commit)
from http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=57fc67be2656da1e7363f1bd752c7199c8f3eedb (commit)
Summary of changes:
lib/MusicBrainz/Server/Data/CoverArtArchive.pm | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d816f942c0e6431c7d00df3244a3781bcc4ebe37
Author: Ian McEwen <[email protected]>
Date: Sun Dec 2 14:11:21 2012 -0700
MBS-5432 temporary fix: revert cover art types i18n where it was causing breakage
diff --git a/lib/MusicBrainz/Server/Data/CoverArtArchive.pm b/lib/MusicBrainz/Server/Data/CoverArtArchive.pm
index 96b9bc0..01c0d30 100644
--- a/lib/MusicBrainz/Server/Data/CoverArtArchive.pm
+++ b/lib/MusicBrainz/Server/Data/CoverArtArchive.pm
@@ -15,8 +15,6 @@ sub find_available_artwork {
my $prefix = DBDefs->COVER_ART_ARCHIVE_DOWNLOAD_PREFIX."/release/$mbid";
- my $types = { map { $_->name => $_ } $self->c->model('CoverArtType')->get_all() };
-
return [
map {
Net::CoverArtArchive::CoverArt->new(
@@ -25,11 +23,7 @@ sub find_available_artwork {
large_thumbnail => sprintf('%s/%s-500.jpg', $prefix, $_->{id}),
small_thumbnail => sprintf('%s/%s-250.jpg', $prefix, $_->{id}),
);
- } map {
- $_->{types} = [ map { $types->{$_}->l_name } @{ $_->{types} } ];
- $_;
- }
- @{ $self->sql->select_list_of_hashes(
+ } @{ $self->sql->select_list_of_hashes(
'SELECT index_listing.*, release.gid
FROM cover_art_archive.index_listing
JOIN musicbrainz.release ON index_listing.release = release.id
-----------------------------------------------------------------------
hooks/post-receive
--
mb_server