summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-24 14:50:43 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-24 14:50:43 -0400
commitc60c6024a7f02fc9548bc8b8f45f02efa1f9346f (patch)
tree386d4f78599edb59c0ea1e20930f93c5d8674a5d /apps
parenteac297e8c4ed60bfe41c0a4c7687faf598e4d415 (diff)
downloadnextcloud-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.php10
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';