use 'object' as the fakedir stream name
This commit is contained in:
parent
c112a1d323
commit
7ec53571c4
|
@ -211,9 +211,9 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
|
||||||
$files[] = $file['name'];
|
$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) {
|
} catch (Exception $e) {
|
||||||
\OCP\Util::writeLog('objectstore', $e->getMessage(), \OCP\Util::ERROR);
|
\OCP\Util::writeLog('objectstore', $e->getMessage(), \OCP\Util::ERROR);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue