diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-29 18:01:21 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-29 18:01:21 +0100 |
commit | bcb27c81d479c49613094fe6c147af5bdea3ea3c (patch) | |
tree | 4ffa9874347b40cb23552387fc0dc43c8a5d9c0d /apps/files/download.php | |
parent | 59d5aa2cb74b605700c6a142409937fa65e8af72 (diff) | |
download | nextcloud-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.php | 2 |
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 ); |