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 --- apps/files_sharing/sharedstorage.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/files_sharing') 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; -- cgit v1.2.3