summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-09 22:31:24 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-09 22:31:24 +0000
commit80e16c888b961c95bcb5968b1534f3c61f53381c (patch)
tree5f0573bc074a99d26b3c9e93912572d3abebcc50 /lib/class/song.class.php
parente4ad47579a65dadf9da009b525bf28c42bc7623a (diff)
downloadampache-80e16c888b961c95bcb5968b1534f3c61f53381c.tar.gz
ampache-80e16c888b961c95bcb5968b1534f3c61f53381c.tar.bz2
ampache-80e16c888b961c95bcb5968b1534f3c61f53381c.zip
add tags to the artist and album xml documents
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 9ce008b4..ab255a48 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -690,12 +690,6 @@ class Song extends database_object implements media {
$tags = Tag::get_top_tags('song',$this->id);
$this->tags = $tags;
- $tag = new Tag($tags['0']);
-
- // Emulate the genre information for legacy crap (API)
- $this->f_genre = $tag->name;
- $this->genre = $tag->id;
-
$this->f_tags = Tag::get_display($tags,$this->id,'song');
// Format the size