diff options
-rw-r--r-- | apps/files_sharing/sharedstorage.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index 2f68b481ebb..e3519306e02 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -346,15 +346,7 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common { } return false; } - - public function toTmpFile($path) { - if ($source = $this->getSourcePath($path)) { - $storage = OC_Filesystem::getStorage($source); - return $storage->toTmpFile($this->getInternalPath($source)); - } - return false; - } - + public function getMimeType($path) { if ($path == '' || $path == '/') { return 'httpd/unix-directory'; |