summaryrefslogtreecommitdiffstats
path: root/templates/show_artists.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 04:22:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 04:22:19 +0000
commitfe077220bf08ac7ad466e6fdfe88197c6d4ed56e (patch)
tree1e8d8eab876246fc57a1e6c414fe763570690bf6 /templates/show_artists.inc.php
parentadd90bc902ce762626fe72d408f42d705d3f9de7 (diff)
downloadampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.tar.gz
ampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.tar.bz2
ampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.zip
broke a ton of stuff, but added some hotness... yes that is an excuse
Diffstat (limited to 'templates/show_artists.inc.php')
-rw-r--r--templates/show_artists.inc.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/templates/show_artists.inc.php b/templates/show_artists.inc.php
index 9848a7f0..3f4ef881 100644
--- a/templates/show_artists.inc.php
+++ b/templates/show_artists.inc.php
@@ -37,14 +37,8 @@ $web_path = Config::get('web_path');
<?php
/* Foreach through every artist that has been passed to us */
foreach ($object_ids as $artist_id) {
- if (get_class($artist_id) == 'Artist') {
- $artist = $artist_id;
- $artist->format();
- }
- else {
$artist = new Artist($artist_id);
$artist->format();
- }
?>
<tr id="artist_<?php echo $artist->id; ?>" class="<?php echo flip_class(); ?>">
<?php require Config::get('prefix') . '/templates/show_artist_row.inc.php'; ?>