summaryrefslogtreecommitdiffstats
path: root/browse.php
diff options
context:
space:
mode:
Diffstat (limited to 'browse.php')
-rw-r--r--browse.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/browse.php b/browse.php
index d2e2577a..5a76214e 100644
--- a/browse.php
+++ b/browse.php
@@ -33,7 +33,6 @@ require_once 'lib/init.php';
// This page is a little wonky we don't want the sidebar until we know what type we're dealing with
// so we've got a little switch here that creates the type.. this feels hackish...
-
switch ($_REQUEST['action']) {
case 'tag':
case 'file':
@@ -56,25 +55,21 @@ switch($_REQUEST['action']) {
case 'album':
Browse::set_sort('name','ASC');
$album_ids = Browse::get_objects();
- Album::build_cache($album_ids,'extra');
Browse::show_objects();
break;
case 'tag':
Browse::set_sort('count','ASC');
$tags = Browse::get_objects();
- Tag::build_cache($tags);
Browse::show_objects();
break;
case 'artist':
Browse::set_sort('name','ASC');
$artist_ids = Browse::get_objects();
- Artist::build_cache($artist_ids,'extra');
Browse::show_objects();
break;
case 'song':
Browse::set_sort('title','ASC');
$song_ids = Browse::get_objects();
- Song::build_cache($song_ids);
Browse::show_objects();
break;
case 'live_stream':
@@ -89,7 +84,6 @@ switch($_REQUEST['action']) {
Browse::set_sort('type','ASC');
Browse::set_filter('playlist_type','1');
$playlist_ids = Browse::get_objects();
- Playlist::build_cache($playlist_ids);
Browse::show_objects();
break;
default: