summaryrefslogtreecommitdiffstats
path: root/lib/eventsource.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r--lib/eventsource.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eventsource.php b/lib/eventsource.php
index 578441ee707..1b8033943a1 100644
--- a/lib/eventsource.php
+++ b/lib/eventsource.php
@@ -32,7 +32,7 @@ class OC_EventSource{
private $fallBackId=0;
public function __construct() {
- @ob_end_clean();
+ OC_Util::obEnd();
header('Cache-Control: no-cache');
$this->fallback=isset($_GET['fallback']) and $_GET['fallback']=='true';
if($this->fallback) {