From 9b58a027e3312d14ee3cd724841ae32af481d03c Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 12 Jan 2021 10:10:08 +0100 Subject: Allow installing/updating of apps again The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma --- lib/private/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Installer.php') 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']); -- cgit v1.2.3