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/files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/files.php') diff --git a/lib/files.php b/lib/files.php index 912de5655b0..b4a4145a493 100644 --- a/lib/files.php +++ b/lib/files.php @@ -195,7 +195,7 @@ class OC_Files { $zip=false; $filename=$dir.'/'.$files; } - @ob_end_clean(); + OC_Util::obEnd(); if($zip or OC_Filesystem::is_readable($filename)) { header('Content-Disposition: attachment; filename="'.basename($filename).'"'); header('Content-Transfer-Encoding: binary'); -- cgit v1.2.3