aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eventsource.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eventsource.php')
-rw-r--r--lib/eventsource.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/eventsource.php b/lib/eventsource.php
index 900b5b101e6..3bada131bdd 100644
--- a/lib/eventsource.php
+++ b/lib/eventsource.php
@@ -38,7 +38,7 @@ class OC_EventSource{
if($this->fallback) {
$this->fallBackId=$_GET['fallback_id'];
header("Content-Type: text/html");
- echo str_repeat('<span></span>'.PHP_EOL,10); //dummy data to keep IE happy
+ echo str_repeat('<span></span>'.PHP_EOL, 10); //dummy data to keep IE happy
}else{
header("Content-Type: text/event-stream");
}
@@ -78,6 +78,6 @@ class OC_EventSource{
* close the connection of the even source
*/
public function close() {
- $this->send('__internal__','close');//server side closing can be an issue, let the client do it
+ $this->send('__internal__', 'close');//server side closing can be an issue, let the client do it
}
-} \ No newline at end of file
+}