From bcb27c81d479c49613094fe6c147af5bdea3ea3c Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 29 Nov 2012 18:01:21 +0100 Subject: use new obEnd function instead of ob_end_clean --- lib/filesystemview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/filesystemview.php') diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 0229213ebcb..1185c25c240 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -195,7 +195,7 @@ class OC_FilesystemView { return $this->basicOperation('filesize', $path); } public function readfile($path) { - @ob_end_clean(); + OC_Util::obEnd(); $handle=$this->fopen($path, 'rb'); if ($handle) { $chunkSize = 8192;// 8 MB chunks -- cgit v1.2.3