diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-24 10:27:58 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-25 12:00:57 +0100 |
commit | 0e2f00ec59424b2ef5708a928856e2c75abe6deb (patch) | |
tree | cbd61c976a34b352bb8377899a244b66ff82f40d /lib/private/legacy/util.php | |
parent | a97a290fd5ed06dfc33d2adeed5d3b7531674827 (diff) | |
download | nextcloud-server-0e2f00ec59424b2ef5708a928856e2c75abe6deb.tar.gz nextcloud-server-0e2f00ec59424b2ef5708a928856e2c75abe6deb.zip |
Get the Installer via DI
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r-- | lib/private/legacy/util.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index 1e9090960c1..3ce11746672 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -708,8 +708,15 @@ class OC_Util { } $webServerRestart = false; - $setup = new \OC\Setup($config, \OC::$server->getIniWrapper(), \OC::$server->getL10N('lib'), - \OC::$server->query(\OCP\Defaults::class), \OC::$server->getLogger(), \OC::$server->getSecureRandom()); + $setup = new \OC\Setup( + $config, + \OC::$server->getIniWrapper(), + \OC::$server->getL10N('lib'), + \OC::$server->query(\OCP\Defaults::class), + \OC::$server->getLogger(), + \OC::$server->getSecureRandom(), + \OC::$server->query(\OC\Installer::class) + ); $urlGenerator = \OC::$server->getURLGenerator(); |