fix getUsersSharingFile with locking
This commit is contained in:
parent
796aae4402
commit
c338999032
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@ class Share extends Constants {
|
|||
$cache = false;
|
||||
|
||||
$view = new \OC\Files\View('/' . $ownerUser . '/files');
|
||||
if ($view->file_exists($path)) {
|
||||
$meta = $view->getFileInfo($path);
|
||||
if ($meta) {
|
||||
$path = substr($meta->getPath(), strlen('/' . $ownerUser . '/files'));
|
||||
} else {
|
||||
// if the file doesn't exists yet we start with the parent folder
|
||||
|
|
Loading…
Reference in a new issue