[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Version Check: Show development version notices as notes, not errors
"MAGENE Sem Joel \(@Jomagene\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69539ca282704_2a37a31b0107483@gitlab-sidekiq-low-urgency-cpu-bound-v2-5bd8dbbcb-8ghf2.mail> |
MAGENE Sem Joel pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
364bb3d2 by MAGENE Sem Joel at 2025-12-30T09:26:21+00:00
[FIX] Version Check: Show development version notices as notes, not errors
---
* [FIX] Version Check: Show development version notices as notes, not errors
See merge request tikiwiki/tiki!9290
- - - - -
1 changed file:
- lib/core/Tiki/Version/Checker.php
Changes:
=====================================
lib/core/Tiki/Version/Checker.php
=====================================
@@ -43,7 +43,7 @@ class Tiki_Version_Checker
// If current is unstable OR max is a stable upgrade to current
if (! $this->version->isStable() || $latestOverall->isStableUpgradeTo($this->version)) {
$fromVersion = $this->isSupportedInCycle ? $supportedInBranch : $this->version;
- $messageType = $this->isSupportedInCycle ? 'note' : 'error';
+ $messageType = ($this->isSupportedInCycle || ! $this->version->isStable()) ? 'note' : 'error';
$upgrades[] = new Tiki_Version_Upgrade($fromVersion ?: $this->version, $latestOverall, $messageType);
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/364bb3d26fcb56a70951301c12e39a3d66dba065
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/364bb3d26fcb56a70951301c12e39a3d66dba065
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs