Skip to content
Snippets Groups Projects

Issue #3280180: Consolidate all version validation logic into a single class

Compare and
38 files
+ 1905
1014
Compare changes
  • Side-by-side
  • Inline
Files
38
+ 2
2
@@ -139,9 +139,9 @@ class UpdaterForm extends FormBase {
@@ -139,9 +139,9 @@ class UpdaterForm extends FormBase {
// one release on the form. First, try to show the latest release in the
// one release on the form. First, try to show the latest release in the
// currently installed minor. Failing that, try to show the latest
// currently installed minor. Failing that, try to show the latest
// release in the next minor.
// release in the next minor.
$recommended_release = $this->releaseChooser->getLatestInInstalledMinor();
$recommended_release = $this->releaseChooser->getLatestInInstalledMinor($this->updater);
if (!$recommended_release) {
if (!$recommended_release) {
$recommended_release = $this->releaseChooser->getLatestInNextMinor();
$recommended_release = $this->releaseChooser->getLatestInNextMinor($this->updater);
}
}
}
}
catch (\RuntimeException $e) {
catch (\RuntimeException $e) {
Loading