diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-08-29 17:19:38 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-09-03 13:36:15 +0200 |
commit | dad53180bc6c554336c3a30abf64e45c242b2262 (patch) | |
tree | 35cb817c892347db96792d5b13f5d64b9261901e /lib/private/server.php | |
parent | 54c918fe48eeae35adae64381f1e1c41ac4a660b (diff) | |
download | nextcloud-server-dad53180bc6c554336c3a30abf64e45c242b2262.tar.gz nextcloud-server-dad53180bc6c554336c3a30abf64e45c242b2262.zip |
Add event source 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 5d40f1327f6..1c3b1b03ce9 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -492,4 +492,13 @@ class Server extends SimpleContainer implements IServerContainer { } return new CertificateManager($user); } + + /** + * Returns a search instance + * + * @return \OCP\IEventSource + */ + function getEventSource() { + return new \OC_EventSource(); + } } |