Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Plugin/ReleaseChannels.php')
-rw-r--r--core/Plugin/ReleaseChannels.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/core/Plugin/ReleaseChannels.php b/core/Plugin/ReleaseChannels.php
index 7ee127ce79..f108a32cdf 100644
--- a/core/Plugin/ReleaseChannels.php
+++ b/core/Plugin/ReleaseChannels.php
@@ -68,17 +68,6 @@ class ReleaseChannels
return reset($channels);
}
- /**
- * Sets the given release channel in config but does not save id. $config->forceSave() still needs to be called
- * @param string $channel
- */
- public function setActiveReleaseChannelId($channel)
- {
- $general = Config::getInstance()->General;
- $general['release_channel'] = $channel;
- Config::getInstance()->General = $general;
- }
-
public function isValidReleaseChannelId($releaseChannelId)
{
$channel = $this->factory($releaseChannelId);