From c8c3b8a63ea1c4763e1a5197487f0ae3506339c1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 26 Feb 2012 03:54:21 +0100 Subject: chunked implementation for readfile prevents memory issues when downloading large files --- lib/filestorage/local.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/filestorage') 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); } -- cgit v1.2.3