diff options
Diffstat (limited to 'appinfo/register_command.php')
-rw-r--r-- | appinfo/register_command.php | 6 |
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)); |