diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-26 06:54:21 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-26 06:54:21 +0400 |
commit | c8c3b8a63ea1c4763e1a5197487f0ae3506339c1 (patch) | |
tree | 681345340a80215eb1e26403f2605d01536fd1bb /apps | |
parent | 0b19af5e10ea83400e114c8b2d4252fb8d50cc33 (diff) |
chunked implementation for readfile
prevents memory issues when downloading large files
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/sharedstorage.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/files_sharing/sharedstorage.php b/apps/files_sharing/sharedstorage.php index cb641e68a84..0e110da30b1 100644 --- a/apps/files_sharing/sharedstorage.php +++ b/apps/files_sharing/sharedstorage.php @@ -281,14 +281,6 @@ class OC_Filestorage_Shared extends OC_Filestorage { } } - public function readfile($path) { - $source = $this->getSource($path); - if ($source) { - $storage = OC_Filesystem::getStorage($source); - return $storage->readfile($this->getInternalPath($source)); - } - } - public function filectime($path) { if ($path == "" || $path == "/") { $ctime = 0; |