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

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/register_command.php')
-rw-r--r--appinfo/register_command.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/appinfo/register_command.php b/appinfo/register_command.php
index cf616ac..b376f7d 100644
--- a/appinfo/register_command.php
+++ b/appinfo/register_command.php
@@ -1,9 +1,11 @@
<?php
use OCA\OJSXC\AppInfo\Application;
+use OCA\OJSXC\Command\RefreshRoster;
+use OCA\OJSXC\Command\ServerSharing;
$app = new Application();
/** @var Symfony\Component\Console\Application $application */
-$application->add($app->getContainer()->query('RefreshRosterCommand'));
-$application->add($app->getContainer()->query('ServerSharingCommand'));
+$application->add($app->getContainer()->query(RefreshRoster::class));
+$application->add($app->getContainer()->query(ServerSharing::class));