diff options
-rw-r--r-- | lib/eventsource.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/eventsource.php b/lib/eventsource.php index 523f72403c3..dc28616c2dd 100644 --- a/lib/eventsource.php +++ b/lib/eventsource.php @@ -32,6 +32,7 @@ class OC_EventSource{ private $fallBackId=0; public function __construct(){ + @ob_end_clean(); header('Cache-Control: no-cache'); $this->fallback=isset($_GET['fallback']) and $_GET['fallback']=='true'; if($this->fallback){ |