mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
try to get path from filesystem
This commit is contained in:
parent
3431d547a9
commit
527e1d001f
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent {
|
|||
$path = $this->path;
|
||||
$this->path = null;
|
||||
return $path;
|
||||
} else {
|
||||
$path = \OC\Files\Filesystem::getPath($itemSource);
|
||||
if ($path) {
|
||||
return $path;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue