Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-16 19:09:43 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-10-28 15:58:13 +0300
commitd180a987149df30dacceb85b07d0bfbf9adc265e (patch)
treecba51fa719b50044bb8b370ba313df6c097bce40 /core/register_command.php
parent908f13e9b961cafafe349d4906a6a8357d65b20f (diff)
Make it possible to broadcast events to (web) clients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 90d001d6965..3b23b61039b 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -78,6 +78,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
+ $application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));
+
$application->add(new OC\Core\Command\Config\App\DeleteConfig(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Config\App\GetConfig(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Config\App\SetConfig(\OC::$server->getConfig()));