diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-01-14 00:55:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 00:55:04 +0300 |
commit | b247f8538cd3b67b9145997f5aca929b87f4eef5 (patch) | |
tree | d899d4f989ce0afa7fd26de7f270901bf6ef495b /plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php | |
parent | dfd5f056d8e4b36297fc1858425ebf82bcabd932 (diff) |
Initialise 4.x branch (#15383)
Diffstat (limited to 'plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php')
-rw-r--r-- | plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php b/plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php new file mode 100644 index 0000000000..acbd9014ed --- /dev/null +++ b/plugins/CoreUpdater/ReleaseChannel/LatestCurrentStable.php @@ -0,0 +1,36 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\CoreUpdater\ReleaseChannel; + +use Piwik\Piwik; +use Piwik\Plugins\CoreUpdater\ReleaseChannel; +use Piwik\Version; + +class LatestCurrentStable extends ReleaseChannel +{ + public function getId() + { + return 'latest_'.Version::MAJOR_VERSION.'x_stable'; + } + + public function getName() + { + return Piwik::translate('CoreUpdater_LatestXStableRelease', Version::MAJOR_VERSION . '.X'); + } + + public function getDescription() + { + return Piwik::translate('CoreUpdater_LtsSupportVersion'); + } + + public function getOrder() + { + return 20; + } +}
\ No newline at end of file |