diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-06-09 11:55:32 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2017-06-09 11:55:32 +0300 |
commit | 73a00c020d1668d866a2196c3e1a0a6e7aed06b7 (patch) | |
tree | 6f230d9c0d914fbf75d1f4ad948c090aa05f9263 /plugins/CoreUpdater/SystemSettings.php | |
parent | d3b5a4644b3f6d493590d346f799aa8a93b3d057 (diff) |
"Send an email when a plugin update is available" is default since Piwik 3.0.0-b1 (#11770)
* "Send an email when a plugin update is available" is On by default since Piwik 3.0.0-b1
follows up https://github.com/piwik/piwik/pull/10691
* UI screenshot
Diffstat (limited to 'plugins/CoreUpdater/SystemSettings.php')
-rw-r--r-- | plugins/CoreUpdater/SystemSettings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreUpdater/SystemSettings.php b/plugins/CoreUpdater/SystemSettings.php index bc09bfaec5..70bab5bdd1 100644 --- a/plugins/CoreUpdater/SystemSettings.php +++ b/plugins/CoreUpdater/SystemSettings.php @@ -100,8 +100,8 @@ class SystemSettings extends \Piwik\Settings\Plugin\SystemSettings return $this->makeSetting('enable_plugin_update_communication', $default = true, FieldConfig::TYPE_BOOL, function (FieldConfig $field) { $field->introduction = Piwik::translate('CoreAdminHome_SendPluginUpdateCommunication'); $field->uiControl = FieldConfig::UI_CONTROL_RADIO; - $field->availableValues = array('1' => Piwik::translate('General_Yes'), - '0' => sprintf('%s (%s)', Piwik::translate('General_No'), Piwik::translate('General_Default'))); + $field->availableValues = array('1' => sprintf('%s (%s)', Piwik::translate('General_Yes'), Piwik::translate('General_Default')), + '0' => Piwik::translate('General_No')); $field->inlineHelp = Piwik::translate('CoreAdminHome_SendPluginUpdateCommunicationHelp'); }); } |