aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedstorage.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-28 15:34:15 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-28 15:34:15 +0100
commitc9c919da5738f963247307ca3878e06beff87ade (patch)
tree6b4a0c381fef34589559634555a653a57821002d /apps/files_sharing/lib/sharedstorage.php
parentbca5ce724e4fcecfe89da8839878c4da6f102e35 (diff)
downloadnextcloud-server-c9c919da5738f963247307ca3878e06beff87ade.tar.gz
nextcloud-server-c9c919da5738f963247307ca3878e06beff87ade.zip
Move streamwrappers to seperate files and put them in a namespace
Diffstat (limited to 'apps/files_sharing/lib/sharedstorage.php')
-rw-r--r--apps/files_sharing/lib/sharedstorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index b0be6843c56..ea28ca69b93 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -102,7 +102,7 @@ class Shared extends \OC\Files\Storage\Common {
public function opendir($path) {
if ($path == '' || $path == '/') {
$files = \OCP\Share::getItemsSharedWith('file', \OC_Share_Backend_Folder::FORMAT_OPENDIR);
- \OC_FakeDirStream::$dirs['shared'] = $files;
+ \OC\Files\Stream\Dir::register('shared', $files);
return opendir('fakedir://shared');
} else if ($source = $this->getSourcePath($path)) {
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);