diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-26 03:54:21 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-26 03:54:21 +0100 |
commit | c8c3b8a63ea1c4763e1a5197487f0ae3506339c1 (patch) | |
tree | 681345340a80215eb1e26403f2605d01536fd1bb /lib/filestorage | |
parent | 0b19af5e10ea83400e114c8b2d4252fb8d50cc33 (diff) | |
download | nextcloud-server-c8c3b8a63ea1c4763e1a5197487f0ae3506339c1.tar.gz nextcloud-server-c8c3b8a63ea1c4763e1a5197487f0ae3506339c1.zip |
chunked implementation for readfile
prevents memory issues when downloading large files
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 3 |
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); } |