summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--artists.php2
-rw-r--r--templates/show_browse.inc.php21
2 files changed, 2 insertions, 21 deletions
diff --git a/artists.php b/artists.php
index 4ce7c6f5..b8d23b65 100644
--- a/artists.php
+++ b/artists.php
@@ -39,6 +39,8 @@ switch($_REQUEST['action']) {
require_once Config::get('prefix') . '/templates/show_artist_box.inc.php';
$song_ids = $artist->get_songs();
Browse::set_type('song');
+ Browse::set_static_content(1);
+ Browse::save_objects($song_ids);
Browse::show_objects($song_ids);
break;
case 'update_from_tags':
diff --git a/templates/show_browse.inc.php b/templates/show_browse.inc.php
deleted file mode 100644
index 531f903a..00000000
--- a/templates/show_browse.inc.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/*
-
- Copyright (c) 2001 - 2007 Ampache.org
- All rights reserved.
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License v2
- as published by the Free Software Foundation.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
-