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/Settings.php')
-rw-r--r--core/Settings/Settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Settings/Settings.php b/core/Settings/Settings.php
index 8181502c7b..2ceffb7948 100644
--- a/core/Settings/Settings.php
+++ b/core/Settings/Settings.php
@@ -93,13 +93,13 @@ abstract class Settings
}
/**
- * Makes a new plugin setting available.
+ * Adds a new setting to the settings container.
*
* @param Setting $setting
* @throws \Exception If there is a setting with the same name that already exists.
* If the name contains non-alphanumeric characters.
*/
- protected function addSetting(Setting $setting)
+ public function addSetting(Setting $setting)
{
$name = $setting->getName();