diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-08 18:46:27 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-08 18:46:27 +0200 |
commit | 70abce04827517d4391cc1bb3cd71574fc19724a (patch) | |
tree | a744a503ed1ef283949b3995d04cb58cf0ed1373 /lib/private/server.php | |
parent | ffee4da397d8f74f8e4ce4f479c2a9447e60477c (diff) | |
parent | fa3393674c854e884abf10d3b82dab03aca83c61 (diff) | |
download | nextcloud-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.php | 9 |
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(); + } } |