summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-25 01:34:19 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-09-25 01:34:55 +0200
commit64b68f2474c2101ccd24e06dc78934133753865f (patch)
treefa08d50dd2bf97d06e635925177c673b0ce51a8e /apps/media/ajax
parent6c2b22406c710a82f05d7449a90ba584ffc06a58 (diff)
downloadnextcloud-server-64b68f2474c2101ccd24e06dc78934133753865f.tar.gz
nextcloud-server-64b68f2474c2101ccd24e06dc78934133753865f.zip
correctly update the collection when music files are moved around
Diffstat (limited to 'apps/media/ajax')
-rw-r--r--apps/media/ajax/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php
index 31ff33bf03a..c5909e4c78b 100644
--- a/apps/media/ajax/api.php
+++ b/apps/media/ajax/api.php
@@ -134,7 +134,7 @@ if($arguments['action']){
}
}
-function findMusic($path='/'){
+function findMusic($path=''){
$music=array();
$dh=OC_Filesystem::opendir($path);
if($dh){