aboutsummaryrefslogtreecommitdiffstats
path: root/core/command/upgrade.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-11-25 22:41:15 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-12-06 20:17:47 +0300
commit303fce44f487e50a09910acdb28bc6c99b4b04b8 (patch)
treedce2dc668f47b72ca6da5982f0ba1bc335461eaa /core/command/upgrade.php
parent94eb2e782fa164492dd2665e6651eaa7068039aa (diff)
downloadnextcloud-server-303fce44f487e50a09910acdb28bc6c99b4b04b8.tar.gz
nextcloud-server-303fce44f487e50a09910acdb28bc6c99b4b04b8.zip
Use httphelper and cache response even when it empty
Diffstat (limited to 'core/command/upgrade.php')
-rw-r--r--core/command/upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index aaeb63a3124..1d74ad0a90e 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();
+ $updater = new Updater(\OC::$server->getHTTPHelper());
$updater->setSimulateStepEnabled($simulateStepEnabled);
$updater->setUpdateStepEnabled($updateStepEnabled);