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 /lib/eventsource.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 'lib/eventsource.php')
-rw-r--r-- | lib/eventsource.php | 2 |
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) { |