Finaler Stand 2.2.0

This commit is contained in:
Gregor Schulte
2021-12-07 12:15:13 +01:00
parent 80af04e1e4
commit a61783045a
5 changed files with 10 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ class UpdateController
if ($curl->getResult($data) != JSON_ERROR_NONE)
return 1;
if (!isset($data['versions'], $data['latest']))
return 2;
@@ -253,7 +253,6 @@ class UpdateController
if (!class_exists('cURL'))
(include LIBRARY_PATH.'curl/curl.class.php');
$curl = new cURL($this->updateDownloadURL.'&'.http_build_query(array('file' => $version->getFilename())));
$curlStatus = $curl->downloadFile(UPDATE_PATH.'update.zip');