aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-04-04 09:08:55 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-04-04 09:08:55 +0200
commitac330daef2e616a5c3830b82b3e1353cd5b06c11 (patch)
tree6750cc873dbfe7ca7590a505db2bcc08e20f15e6 /apps/files/appinfo
parent3dac3a01c5008f1fcec37689e6e02845bd126db8 (diff)
downloadnextcloud-server-ac330daef2e616a5c3830b82b3e1353cd5b06c11.tar.gz
nextcloud-server-ac330daef2e616a5c3830b82b3e1353cd5b06c11.zip
Inject the Mount Manager
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/register_command.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/appinfo/register_command.php b/apps/files/appinfo/register_command.php
index e77087a229a..dad78186c62 100644
--- a/apps/files/appinfo/register_command.php
+++ b/apps/files/appinfo/register_command.php
@@ -24,8 +24,9 @@
$dbConnection = \OC::$server->getDatabaseConnection();
$userManager = OC::$server->getUserManager();
$shareManager = \OC::$server->getShareManager();
+$mountManager = \OC::$server->getMountManager();
/** @var Symfony\Component\Console\Application $application */
$application->add(new OCA\Files\Command\Scan($userManager));
$application->add(new OCA\Files\Command\DeleteOrphanedFiles($dbConnection));
-$application->add(new OCA\Files\Command\TransferOwnership($userManager, $shareManager));
+$application->add(new OCA\Files\Command\TransferOwnership($userManager, $shareManager, $mountManager));