use 'object' as the fakedir stream name

This commit is contained in:
Jörn Friedrich Dreyer 2014-06-23 11:07:01 +02:00
parent c112a1d323
commit 7ec53571c4
1 changed files with 2 additions and 2 deletions

View File

@ -211,9 +211,9 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
$files[] = $file['name'];
}
\OC\Files\Stream\Dir::register('objstore' . $path, $files);
\OC\Files\Stream\Dir::register('object' . $path, $files);
return opendir('fakedir://objstore' . $path);
return opendir('fakedir://object' . $path);
} catch (Exception $e) {
\OCP\Util::writeLog('objectstore', $e->getMessage(), \OCP\Util::ERROR);
return false;