diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-11-27 11:48:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 11:48:59 +0100 |
commit | 8ccb4868762b13adc02f49654a7867b556009a41 (patch) | |
tree | bfdbb3deea57edf49122c12c05ef28b7c61a25cf /lib/base.php | |
parent | f0d809fddecd63ca16028222a355b1c7f5aca4d9 (diff) | |
parent | df61d43529418aace241b99be106ff9a35188dac (diff) | |
download | nextcloud-server-8ccb4868762b13adc02f49654a7867b556009a41.tar.gz nextcloud-server-8ccb4868762b13adc02f49654a7867b556009a41.zip |
Merge pull request #7264 from nextcloud/cache-fetched-apps
Cache fetched apps in update check
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php index 6193b591ab5..f6b4f5555eb 100644 --- a/lib/base.php +++ b/lib/base.php @@ -923,9 +923,15 @@ class OC { // Check if Nextcloud is installed or in maintenance (update) mode if (!$systemConfig->getValue('installed', false)) { \OC::$server->getSession()->clear(); - $setupHelper = new OC\Setup(\OC::$server->getSystemConfig(), \OC::$server->getIniWrapper(), - \OC::$server->getL10N('lib'), \OC::$server->query(\OCP\Defaults::class), \OC::$server->getLogger(), - \OC::$server->getSecureRandom()); + $setupHelper = new OC\Setup( + \OC::$server->getSystemConfig(), + \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) + ); $controller = new OC\Core\Controller\SetupController($setupHelper); $controller->run($_POST); exit(); |