summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/sharedstorage.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-06-27 12:07:42 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-06-27 12:07:42 -0400
commit2c773d549d261c6c7b760639acb8f9eedd6c100a (patch)
treee7e6dda70b1693c2b9ab1f0c3e559c695a736155 /apps/files_sharing/sharedstorage.php
parent19f94774fbc72562f2a3280b0cc49fbda89ea48b (diff)
downloadnextcloud-server-2c773d549d261c6c7b760639acb8f9eedd6c100a.tar.gz
nextcloud-server-2c773d549d261c6c7b760639acb8f9eedd6c100a.zip
Don't overwrite fake directory stream for Shared storage
Diffstat (limited to 'apps/files_sharing/sharedstorage.php')
-rw-r--r--apps/files_sharing/sharedstorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php
index fed1b834fa3..4138fc2b399 100644
--- a/apps/files_sharing/sharedstorage.php
+++ b/apps/files_sharing/sharedstorage.php
@@ -81,8 +81,8 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
$files[] = basename($item['target']);
}
}
- OC_FakeDirStream::$dirs['shared']=$files;
- return opendir('fakedir://shared');
+ OC_FakeDirStream::$dirs['shared'.$path] = $files;
+ return opendir('fakedir://shared'.$path);
} else {
$source = $this->getSource($path);
if ($source) {