Skip to content

Commit

Permalink
Transfer class: code improvements (#1020)
Browse files Browse the repository at this point in the history
- Code style improvements.
- Remove curlOpt array as the stored cURL options where never used after saving them in that array. The way the options where stored wasn't useful either as a cURL option is "tied" to a specific transfer (transferUrl). This shouldn't affect the functionality as the important function call for cURL is curl_setopt().
- Remove getVersionsList() as it was only used in newVersionFound() of the transfer class itself and just one time. A second call was unnecessary.
- Don't set zipFile in newVersionFound(). This caused an error (under PHP 8.2) and looks like it wasn't needed.
- Verify file right before installing.
- BS5 vorbereitung #962
  • Loading branch information
blackcoder87 authored Aug 7, 2024
1 parent 3f5de53 commit 6d9f0a8
Showing 1 changed file with 152 additions and 122 deletions.
Loading

0 comments on commit 6d9f0a8

Please # to comment.