summaryrefslogtreecommitdiffstats
path: root/apps/files/download.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 /apps/files/download.php
parent59d5aa2cb74b605700c6a142409937fa65e8af72 (diff)
downloadnextcloud-server-bcb27c81d479c49613094fe6c147af5bdea3ea3c.tar.gz
nextcloud-server-bcb27c81d479c49613094fe6c147af5bdea3ea3c.zip
use new obEnd function instead of ob_end_clean
Diffstat (limited to 'apps/files/download.php')
-rw-r--r--apps/files/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/download.php b/apps/files/download.php
index 0d632c9b2c2..6475afb56e0 100644
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -44,5 +44,5 @@ header('Content-Disposition: attachment; filename="'.basename($filename).'"');
OCP\Response::disableCaching();
header('Content-Length: '.OC_Filesystem::filesize($filename));
-@ob_end_clean();
+OC_Util::obEnd();
OC_Filesystem::readfile( $filename );