aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Installer.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-01-12 10:10:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-01-12 10:51:41 +0100
commit9b58a027e3312d14ee3cd724841ae32af481d03c (patch)
tree2b20ae593d4cecdbe5e3ac89250a21f57da9c5ee /lib/private/Installer.php
parentc8cbb73c05714f035eb63fe91873fc43e0557f1c (diff)
downloadnextcloud-server-9b58a027e3312d14ee3cd724841ae32af481d03c.tar.gz
nextcloud-server-9b58a027e3312d14ee3cd724841ae32af481d03c.zip
Allow installing/updating of apps again
The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Installer.php')
-rw-r--r--lib/private/Installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index e0eb8e9de18..6dfc9a5f0bb 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -286,7 +286,7 @@ class Installer {
$tempFile = $this->tempManager->getTemporaryFile('.tar.gz');
$timeout = $this->isCLI ? 0 : 120;
$client = $this->clientService->newClient();
- $client->get($app['releases'][0]['download'], ['save_to' => $tempFile, 'timeout' => $timeout]);
+ $client->get($app['releases'][0]['download'], ['sink' => $tempFile, 'timeout' => $timeout]);
// Check if the signature actually matches the downloaded content
$certificate = openssl_get_publickey($app['certificate']);