summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.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/filesystemview.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/filesystemview.php')
-rw-r--r--lib/filesystemview.php2
1 files changed, 1 insertions, 1 deletions
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