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:
authorThomas Steur <tsteur@users.noreply.github.com>2017-02-28 11:29:46 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-02-28 11:29:46 +0300
commit2b4770c785e8ddbf391db755486ae32665394697 (patch)
tree73e024054407ee951c9f474117de42e04c1e4dee /core/SettingsPiwik.php
parent2f8fc62cf153abb35b29fe042ee740eb8a269b39 (diff)
Make method getPiwikInstanceId public (#11423)
Need this method in a plugin.
Diffstat (limited to 'core/SettingsPiwik.php')
-rw-r--r--core/SettingsPiwik.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/SettingsPiwik.php b/core/SettingsPiwik.php
index 446712703a..f8f5d37c68 100644
--- a/core/SettingsPiwik.php
+++ b/core/SettingsPiwik.php
@@ -433,7 +433,7 @@ class SettingsPiwik
* @throws \Exception
* @return string or False if not set
*/
- protected static function getPiwikInstanceId()
+ public static function getPiwikInstanceId()
{
// until Piwik is installed, we use hostname as instance_id
if (!self::isPiwikInstalled()