summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-08 18:46:27 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-08 18:46:27 +0200
commit70abce04827517d4391cc1bb3cd71574fc19724a (patch)
treea744a503ed1ef283949b3995d04cb58cf0ed1373 /lib/private/server.php
parentffee4da397d8f74f8e4ce4f479c2a9447e60477c (diff)
parentfa3393674c854e884abf10d3b82dab03aca83c61 (diff)
downloadnextcloud-server-70abce04827517d4391cc1bb3cd71574fc19724a.tar.gz
nextcloud-server-70abce04827517d4391cc1bb3cd71574fc19724a.zip
Merge pull request #10739 from owncloud/eventsource-public
Add EventSource to the public API
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 71a098f9074..912d5c4f635 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -518,4 +518,13 @@ class Server extends SimpleContainer implements IServerContainer {
}
return new CertificateManager($user);
}
+
+ /**
+ * Create a new event source
+ *
+ * @return \OCP\IEventSource
+ */
+ function createEventSource() {
+ return new \OC_EventSource();
+ }
}