aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-11-29 18:01:21 +0100
committerRobin Appelman <icewind@owncloud.com>2012-11-29 18:01:21 +0100
commitbcb27c81d479c49613094fe6c147af5bdea3ea3c (patch)
tree4ffa9874347b40cb23552387fc0dc43c8a5d9c0d /lib/files.php
parent59d5aa2cb74b605700c6a142409937fa65e8af72 (diff)
downloadnextcloud-server-bcb27c81d479c49613094fe6c147af5bdea3ea3c.tar.gz
nextcloud-server-bcb27c81d479c49613094fe6c147af5bdea3ea3c.zip
use new obEnd function instead of ob_end_clean
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php2
1 files changed, 1 insertions, 1 deletions
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');