diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-24 14:50:43 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-24 14:50:43 -0400 |
commit | c60c6024a7f02fc9548bc8b8f45f02efa1f9346f (patch) | |
tree | 386d4f78599edb59c0ea1e20930f93c5d8674a5d /apps | |
parent | eac297e8c4ed60bfe41c0a4c7687faf598e4d415 (diff) | |
download | nextcloud-server-c60c6024a7f02fc9548bc8b8f45f02efa1f9346f.tar.gz nextcloud-server-c60c6024a7f02fc9548bc8b8f45f02efa1f9346f.zip |
Remove toTmpFile() from shared storage, no longer needed
Diffstat (limited to 'apps')
-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'; |