diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-12-10 01:13:38 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2014-12-10 01:13:38 +0300 |
commit | c9fd3c9d2960c6457440427513f04a4f338a23d5 (patch) | |
tree | 81166aeedd483ced13863347820233e3491ea8f0 /core | |
parent | 81d571241991926f8820c43020a0250eb305a0b0 (diff) | |
download | nextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.tar.gz nextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.zip |
Inject config
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/update.php | 3 | ||||
-rw-r--r-- | core/command/upgrade.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 85d5dc83ccf..5a9288a6381 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -10,7 +10,8 @@ if (OC::checkUpgrade(false)) { $l = new \OC_L10N('core'); $eventSource = \OC::$server->createEventSource(); $updater = new \OC\Updater( - \OC::$server->getHTTPHelper(), + \OC::$server->getHTTPHelper(), + \OC::$server->getAppConfig(), \OC_Log::$object ); $updater->listen('\OC\Updater', 'maintenanceStart', function () use ($eventSource, $l) { diff --git a/core/command/upgrade.php b/core/command/upgrade.php index 1d74ad0a90e..6e5ac1c5c9a 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -84,7 +84,7 @@ class Upgrade extends Command { if(\OC::checkUpgrade(false)) { $self = $this; - $updater = new Updater(\OC::$server->getHTTPHelper()); + $updater = new Updater(\OC::$server->getHTTPHelper(), \OC::$server->getAppConfig()); $updater->setSimulateStepEnabled($simulateStepEnabled); $updater->setUpdateStepEnabled($updateStepEnabled); |