summaryrefslogtreecommitdiffstats
path: root/appinfo/register_command.php
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/register_command.php')
-rw-r--r--appinfo/register_command.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/register_command.php b/appinfo/register_command.php
index dc6b4fe31..91e379525 100644
--- a/appinfo/register_command.php
+++ b/appinfo/register_command.php
@@ -9,12 +9,12 @@
* @copyright Bernhard Posselt 2015
*/
-use OCA\News\Command\GenerateSearchIndices;
+use OCA\News\Command\Migrate;
use OCA\News\Command\VerifyInstall;
$newsApp = new OCA\News\AppInfo\Application();
$newsContainer = $newsApp->getContainer();
-$newsCmd = $newsContainer->query(GenerateSearchIndices::class);
+$newsCmd = $newsContainer->query(Migrate::class);
$verifyCmd = $newsContainer->query(VerifyInstall::class);
$application->add($newsCmd);