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, 3 insertions, 1 deletions
diff --git a/appinfo/register_command.php b/appinfo/register_command.php
index a5df5531a..09b77911c 100644
--- a/appinfo/register_command.php
+++ b/appinfo/register_command.php
@@ -9,8 +9,10 @@
* @copyright Bernhard Posselt 2015
*/
+use OCA\News\Command\GenerateSearchIndices;
+
$newsApp = new OCA\News\AppInfo\Application();
$newsContainer = $newsApp->getContainer();
-$newsCmd = $newsContainer->query(\OCA\News\Command\GenerateSearchIndices::class);
+$newsCmd = $newsContainer->query(GenerateSearchIndices::class);
$application->add($newsCmd);