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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/register_command.php b/appinfo/register_command.php
index 7b82ee91c..4dc9228c8 100644
--- a/appinfo/register_command.php
+++ b/appinfo/register_command.php
@@ -10,6 +10,7 @@
*/
$newsApp = new OCA\News\AppInfo\Application();
-$newsCmd = $newsApp->getContainer()->query('OCA\News\Command\GenerateSearchIndices');
+$newsContainer = $newsApp->getContainer();
+$newsCmd = $newsContainer->query('OCA\News\Command\GenerateSearchIndices');
$application->add($newsCmd);