aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-08 16:18:15 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-09 15:41:06 +0100
commit10b9bf15f4a428b7455755f1fd2c684b47c3f75c (patch)
tree86c9d98548e86b4f49283c654e83ed7ae5fba6b8 /apps/files/appinfo
parentcbb7934fb3ad69e84bf8b1bbe310ee2700e778a3 (diff)
downloadnextcloud-server-10b9bf15f4a428b7455755f1fd2c684b47c3f75c.tar.gz
nextcloud-server-10b9bf15f4a428b7455755f1fd2c684b47c3f75c.zip
Set share owner and share initiator on upate as well
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/register_command.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/appinfo/register_command.php b/apps/files/appinfo/register_command.php
index f170367f10c..0ec2fe1a584 100644
--- a/apps/files/appinfo/register_command.php
+++ b/apps/files/appinfo/register_command.php
@@ -24,9 +24,8 @@
$dbConnection = \OC::$server->getDatabaseConnection();
$userManager = OC::$server->getUserManager();
$shareManager = \OC::$server->getShareManager();
-$rootFolder = \OC::$server->getRootFolder();
/** @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, $rootFolder));
+$application->add(new OCA\Files\Command\TransferOwnership($userManager, $shareManager));