Skip to content

Commit

Permalink
Decrease GitHub requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Timot Tarjani committed Dec 27, 2023
1 parent 68475ab commit a388476
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Controllers/UpgradeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function show($selectedVersion = null){
$this->view->title(trans('settings.settings'));
return $this->view->render('upgrade/index', [
'current_version' => $this->updateManager->source()->getVersionInstalled(),
'latest_version' => $this->updateManager->source()->getVersionAvailable(),
'available_list' => $available_list,
'upgrade_list' => $releases->filter(fn($release) => Comparator::lessThanOrEqualTo($release['tag_name'], $this->updateManager->source()->getVersionInstalled()))->slice(0,5),
'selected_version' => $selectedVersion? $releases->first(fn($release) => $release['tag_name'] === $selectedVersion) : $releases->first(fn($release) => $release['tag_name'] === $this->updateManager->source()->getVersionInstalled())
Expand Down

0 comments on commit a388476

Please sign in to comment.