1 Apr 2007 02:53
[mb-commits] r9000 - mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation
<root <at> musicbrainz.org>
2007-04-01 00:53:38 GMT
2007-04-01 00:53:38 GMT
Author: robert
Date: 2007-04-01 00:53:38 +0000 (Sun, 01 Apr 2007)
New Revision: 9000
Modified:
mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation/MOD_CHANGE_ARTIST_QUALITY.pm
Log:
The artist was never loaded, thus the MBID was not available for invalidating the cache. Fixes #2604
Modified: mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation/MOD_CHANGE_ARTIST_QUALITY.pm
===================================================================
---
mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation/MOD_CHANGE_ARTIST_QUALITY.pm 2007-03-31
20:37:47 UTC (rev 8999)
+++
mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation/MOD_CHANGE_ARTIST_QUALITY.pm 2007-04-01
00:53:38 UTC (rev 9000)
<at> <at> -96,6 +96,7 <at> <at>
require Artist;
my $ar = Artist->new($self->{DBH});
$ar->SetId($self->GetRowId);
+ $ar->LoadFromId;
$ar->UpdateQualityModPending($adjust);
}
RSS Feed