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/Settings/UserSetting.php')
-rw-r--r--core/Settings/UserSetting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Settings/UserSetting.php b/core/Settings/UserSetting.php
index 7512f693c4..696d940b42 100644
--- a/core/Settings/UserSetting.php
+++ b/core/Settings/UserSetting.php
@@ -14,8 +14,8 @@ use Piwik\Common;
use Piwik\Piwik;
/**
- * Describes a per user setting. Each user will be able to change this setting but each user
- * can set a different value. Changes from one user will not affect other users.
+ * Describes a per user setting. Each user will be able to change this setting for themselves,
+ * but not for other users.
*
* @package Piwik
* @subpackage Settings
@@ -39,7 +39,7 @@ class UserSetting extends Setting
$this->setUserLogin($userLogin);
- $this->displayedForCurrentUser = !Piwik::isUserIsAnonymous() && Piwik::isUserHasSomeViewAccess();
+ $this->displayedForCurrentUser = Piwik::isUserHasSomeViewAccess();
}
/**