File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -536,8 +536,6 @@ private function getUpdateServerResponse(): array {
536536 CURLOPT_RETURNTRANSFER => 1 ,
537537 CURLOPT_URL => $ updateURL ,
538538 CURLOPT_USERAGENT => 'Nextcloud Updater ' ,
539- CURLOPT_FOLLOWLOCATION => 1 ,
540- CURLOPT_MAXREDIRS => 2 ,
541539 ]);
542540
543541 if ($ this ->getConfigOption ('proxy ' ) !== null ) {
@@ -598,6 +596,8 @@ public function downloadUpdate(): void {
598596 curl_setopt_array ($ ch , [
599597 CURLOPT_FILE => $ fp ,
600598 CURLOPT_USERAGENT => 'Nextcloud Updater ' ,
599+ CURLOPT_FOLLOWLOCATION => 1 ,
600+ CURLOPT_MAXREDIRS => 2 ,
601601 ]);
602602
603603 if ($ this ->getConfigOption ('proxy ' ) !== null ) {
Original file line number Diff line number Diff line change @@ -498,8 +498,6 @@ private function getUpdateServerResponse(): array {
498498 CURLOPT_RETURNTRANSFER => 1 ,
499499 CURLOPT_URL => $ updateURL ,
500500 CURLOPT_USERAGENT => 'Nextcloud Updater ' ,
501- CURLOPT_FOLLOWLOCATION => 1 ,
502- CURLOPT_MAXREDIRS => 2 ,
503501 ]);
504502
505503 if ($ this ->getConfigOption ('proxy ' ) !== null ) {
@@ -560,6 +558,8 @@ public function downloadUpdate(): void {
560558 curl_setopt_array ($ ch , [
561559 CURLOPT_FILE => $ fp ,
562560 CURLOPT_USERAGENT => 'Nextcloud Updater ' ,
561+ CURLOPT_FOLLOWLOCATION => 1 ,
562+ CURLOPT_MAXREDIRS => 2 ,
563563 ]);
564564
565565 if ($ this ->getConfigOption ('proxy ' ) !== null ) {
Original file line number Diff line number Diff line change 33 'name ' => '__root__ ' ,
44 'pretty_version ' => 'dev-master ' ,
55 'version ' => 'dev-master ' ,
6- 'reference ' => '0d7ecb7201963d7adb575991f83f392b8a425a61 ' ,
6+ 'reference ' => '9adb775ee0ca02d832347ddfea2b4c248f2805bc ' ,
77 'type ' => 'library ' ,
88 'install_path ' => __DIR__ . '/../../ ' ,
99 'aliases ' => array (),
1313 '__root__ ' => array (
1414 'pretty_version ' => 'dev-master ' ,
1515 'version ' => 'dev-master ' ,
16- 'reference ' => '0d7ecb7201963d7adb575991f83f392b8a425a61 ' ,
16+ 'reference ' => '9adb775ee0ca02d832347ddfea2b4c248f2805bc ' ,
1717 'type ' => 'library ' ,
1818 'install_path ' => __DIR__ . '/../../ ' ,
1919 'aliases ' => array (),
You can’t perform that action at this time.
0 commit comments