try to get path from filesystem

This commit is contained in:
Bjoern Schiessle 2014-10-09 15:38:40 +02:00
parent 3431d547a9
commit 527e1d001f
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}