diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-29 04:45:06 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-29 04:45:06 +0400 |
commit | 82da315ea28b6ac1b94f3bc683bc0c8f29756fce (patch) | |
tree | 7830306d3c2c52ef8ce89af922e3d78090784fd6 /plugins/ExampleSettingsPlugin | |
parent | 62acfde14e6c514b6a5008c9f6aaa284b01db44b (diff) |
refs #5212 added possibility to make a system setting readable for non super users
Diffstat (limited to 'plugins/ExampleSettingsPlugin')
-rw-r--r-- | plugins/ExampleSettingsPlugin/Settings.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ExampleSettingsPlugin/Settings.php b/plugins/ExampleSettingsPlugin/Settings.php index 2eb78b465a..40a06aebd8 100644 --- a/plugins/ExampleSettingsPlugin/Settings.php +++ b/plugins/ExampleSettingsPlugin/Settings.php @@ -117,6 +117,7 @@ class Settings extends \Piwik\Plugin\Settings $this->metric->introduction = 'Only Super Users can change the following settings:'; $this->metric->description = 'Choose the metric that should be displayed in the browser tab'; $this->metric->defaultValue = 'nb_visits'; + $this->metric->readableByCurrentUser = true; $this->addSetting($this->metric); } |