summaryrefslogtreecommitdiffstats
path: root/core/ajax/update.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-12-10 01:13:38 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-12-10 01:13:38 +0300
commitc9fd3c9d2960c6457440427513f04a4f338a23d5 (patch)
tree81166aeedd483ced13863347820233e3491ea8f0 /core/ajax/update.php
parent81d571241991926f8820c43020a0250eb305a0b0 (diff)
downloadnextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.tar.gz
nextcloud-server-c9fd3c9d2960c6457440427513f04a4f338a23d5.zip
Inject config
Diffstat (limited to 'core/ajax/update.php')
-rw-r--r--core/ajax/update.php3
1 files changed, 2 insertions, 1 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) {