قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* Add preview release channel * remove translator function for text that isn't shown in front end * Update plugins/CoreUpdater/ReleaseChannel/LatestPreview.php --------- Co-authored-by: Stefan Giehl <stefan@matomo.org>
41 خطوط
681 B
PHP
41 خطوط
681 B
PHP
<?php
|
|
|
|
/**
|
|
* Matomo - free/libre analytics platform
|
|
*
|
|
* @link https://matomo.org
|
|
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
|
*/
|
|
|
|
namespace Piwik\Plugins\CoreUpdater\ReleaseChannel;
|
|
|
|
use Piwik\Plugins\CoreUpdater\ReleaseChannel;
|
|
|
|
class LatestPreview extends ReleaseChannel
|
|
{
|
|
public function getId()
|
|
{
|
|
return 'latest_preview';
|
|
}
|
|
|
|
public function getName()
|
|
{
|
|
return 'latest_preview';
|
|
}
|
|
|
|
public function doesPreferStable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getOrder()
|
|
{
|
|
return 30;
|
|
}
|
|
|
|
public function isSelectableInSettings(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|