From abbc15f93952fe6a0ed2c630cd130eb02cd6a7f0 Mon Sep 17 00:00:00 2001 From: daita Date: Sun, 6 Nov 2016 09:35:13 -0100 Subject: ping first, then index --- appinfo/register_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appinfo') diff --git a/appinfo/register_command.php b/appinfo/register_command.php index 64bd025..843d857 100644 --- a/appinfo/register_command.php +++ b/appinfo/register_command.php @@ -29,7 +29,7 @@ $c = $app->getContainer(); $application->add(new OCA\Nextant\Command\Check($c->query('SolrService'), $c->query('SolrToolsService'), $c->query('SolrAdminService'))); $application->add(new OCA\Nextant\Command\Clear($c->query('ConfigService'), $c->query('SolrService'), $c->query('SolrAdminService'))); -$application->add(new OCA\Nextant\Command\Index(OC::$server->getUserManager(), $c->query('RootFolder'), $c->query('IndexService'), $c->query('QueueService'), $c->query('SolrService'), $c->query('ConfigService'), $c->query('FileService'), $c->query('BookmarkService'), $c->query('MiscService'))); +$application->add(new OCA\Nextant\Command\Index(OC::$server->getUserManager(), $c->query('RootFolder'), $c->query('IndexService'), $c->query('QueueService'), $c->query('SolrService'), $c->query('SolrAdminService'), $c->query('ConfigService'), $c->query('FileService'), $c->query('BookmarkService'), $c->query('MiscService'))); $application->add(new OCA\Nextant\Command\Optimize($c->query('SolrService'), $c->query('SolrToolsService'))); $application->add(new OCA\Nextant\Command\Live($c->query('QueueService'), $c->query('IndexService'), $c->query('SolrService'), $c->query('SolrToolsService'), $c->query('ConfigService'), $c->query('FileService'), $c->query('BookmarkService'), $c->query('MiscService'))); -- cgit v1.2.3