Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-26 06:54:21 +0400
committerRobin Appelman <icewind@owncloud.com>2012-02-26 06:54:21 +0400
commitc8c3b8a63ea1c4763e1a5197487f0ae3506339c1 (patch)
tree681345340a80215eb1e26403f2605d01536fd1bb /apps/files_sharing
parent0b19af5e10ea83400e114c8b2d4252fb8d50cc33 (diff)
chunked implementation for readfile
prevents memory issues when downloading large files
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/sharedstorage.php8
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;