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 /lib/filestorage
parent0b19af5e10ea83400e114c8b2d4252fb8d50cc33 (diff)
chunked implementation for readfile
prevents memory issues when downloading large files
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index dcb516a3afb..243fdd3ba6b 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -52,9 +52,6 @@ class OC_Filestorage_Local extends OC_Filestorage{
public function file_exists($path){
return file_exists($this->datadir.$path);
}
- public function readfile($path){
- return readfile($this->datadir.$path);
- }
public function filectime($path){
return filectime($this->datadir.$path);
}