[mb-commits] r9776 - mb_server/branches/ReleaseTrack/cgi-bin/MusicBrainz/Server
root at musicbrainz.org
root at musicbrainz.org
Sun Mar 16 16:09:01 UTC 2008
Author: luks
Date: 2008-03-16 16:09:01 +0000 (Sun, 16 Mar 2008)
New Revision: 9776
Modified:
mb_server/branches/ReleaseTrack/cgi-bin/MusicBrainz/Server/Track.pm
Log:
Remove some methods from Track, which don't belong there. Not all references to them are fixed yet, but at least we will see what's broken...
Modified: mb_server/branches/ReleaseTrack/cgi-bin/MusicBrainz/Server/Track.pm
===================================================================
--- mb_server/branches/ReleaseTrack/cgi-bin/MusicBrainz/Server/Track.pm 2008-03-16 16:04:20 UTC (rev 9775)
+++ mb_server/branches/ReleaseTrack/cgi-bin/MusicBrainz/Server/Track.pm 2008-03-16 16:09:01 UTC (rev 9776)
@@ -71,36 +71,6 @@
$_[0]->{artistname} = $_[1];
}
-sub GetRelease
-{
- return $_[0]->{album};
-}
-
-sub SetRelease
-{
- $_[0]->{album} = $_[1];
-}
-
-sub GetSequence
-{
- return $_[0]->{sequence};
-}
-
-sub SetSequence
-{
- $_[0]->{sequence} = $_[1];
-}
-
-sub GetSequenceId
-{
- return $_[0]->{sequenceid};
-}
-
-sub SetSequenceId
-{
- $_[0]->{sequenceid} = $_[1];
-}
-
sub GetLength
{
return $_[0]->{length};
@@ -121,16 +91,6 @@
$_[0]->{modpending} = $_[1];
}
-sub GetAlbumJoinModPending
-{
- return $_[0]->{albumjoinmodpending};
-}
-
-sub SetAlbumJoinModPending
-{
- $_[0]->{albumjoinmodpending} = $_[1];
-}
-
# Given an albumjoin id, determine the track id and load it
sub LoadFromAlbumJoin
{
More information about the MusicBrainz-commits
mailing list