Add getLocalFile() to OC_Filestorage_Shared
This commit is contained in:
parent
778b8543c1
commit
c2f0fe51c4
1 changed files with 8 additions and 0 deletions
|
@ -530,6 +530,14 @@ class OC_Filestorage_Shared extends OC_Filestorage {
|
|||
public function search($query) {
|
||||
|
||||
}
|
||||
|
||||
public function getLocalFile($path) {
|
||||
$source = $this->getSource($path);
|
||||
if ($source) {
|
||||
$storage = OC_Filesystem::getStorage($source);
|
||||
return $storage->getLocalFile($this->getInternalPath($source));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue