diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-04-04 09:08:55 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-04-04 09:08:55 +0200 |
commit | ac330daef2e616a5c3830b82b3e1353cd5b06c11 (patch) | |
tree | 6750cc873dbfe7ca7590a505db2bcc08e20f15e6 /apps/files/appinfo | |
parent | 3dac3a01c5008f1fcec37689e6e02845bd126db8 (diff) | |
download | nextcloud-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.php | 3 |
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)); |