Skip to content
Snippets Groups Projects
Commit c2f0fe51 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Add getLocalFile() to OC_Filestorage_Shared

parent 778b8543
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment