summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-29 23:53:22 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-29 23:55:54 +0200
commit94e25ecb0c2dcd895fb080b3b2cf296d58676e17 (patch)
tree509057b6d0e6264c610279c38a24268e6e49abc5 /apps/media/ajax
parentbafd684eb694ed0bd86b46ff7cd36382c1cebc34 (diff)
downloadnextcloud-server-94e25ecb0c2dcd895fb080b3b2cf296d58676e17.tar.gz
nextcloud-server-94e25ecb0c2dcd895fb080b3b2cf296d58676e17.zip
Some much needed interface work on the media player
Diffstat (limited to 'apps/media/ajax')
-rw-r--r--apps/media/ajax/api.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php
index 225bce7b092..b86c69d0beb 100644
--- a/apps/media/ajax/api.php
+++ b/apps/media/ajax/api.php
@@ -67,7 +67,6 @@ if($arguments['action']){
$artists=OC_MEDIA_COLLECTION::getArtists();
foreach($artists as &$artist){
$artist['albums']=OC_MEDIA_COLLECTION::getAlbums($artist['artist_id']);
- $artistHasSongs=false;
foreach($artist['albums'] as &$album){
$album['songs']=OC_MEDIA_COLLECTION::getSongs($artist['artist_id'],$album['album_id']);
}