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:
authorMatthieu Aubry <mattab@users.noreply.github.com>2018-01-11 02:23:40 +0300
committerGitHub <noreply@github.com>2018-01-11 02:23:40 +0300
commit07adf0ac04dfb8f35be41d9add1855b6e646f8db (patch)
tree5c3b3d0db2ef82c663d34551394a9ede03167e82 /plugins/Feedback/API.php
parent62e3c3f89a4c8bb29f710901de7d62e6576e03cd (diff)
Show Matomo instead of Piwik in the user interface in more places (#12421)
* Replace all occurences of Piwik in english translations of Actions plugin * translation update * Replace all occurences of Piwik in english translations of API plugin * translation update * Replace all occurences of Piwik in english translations of core * replace Piwik occurrences * Rename widget piwik.org blog => matomo.org blog * fix widget name * replaced some more piwik mentions * Renamed to Matomo a few strings * Replaced more strings to Matomo in JSON files, twig templates * Replaced more strings to Matomo in INI file * Replaced more strings to Matomo in API docs, error messages, feedback forms * introduce API.getMatomoVersion and ExampleAPI.getMatomoVersion API + deprecate old ones
Diffstat (limited to 'plugins/Feedback/API.php')
-rw-r--r--plugins/Feedback/API.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Feedback/API.php b/plugins/Feedback/API.php
index 70ba272d4d..5915663d4c 100644
--- a/plugins/Feedback/API.php
+++ b/plugins/Feedback/API.php
@@ -24,7 +24,7 @@ use Piwik\Version;
class API extends \Piwik\Plugin\API
{
/**
- * Sends feedback for a specific feature to the Piwik team or alternatively to the email address configured in the
+ * Sends feedback for a specific feature to the Matomo team or alternatively to the email address configured in the
* config: "feedback_email_address".
*
* @param string $featureName The name of a feature you want to give feedback to.
@@ -64,15 +64,15 @@ class API extends \Piwik\Plugin\API
{
$feedbackEmailAddress = Config::getInstance()->General['feedback_email_address'];
- $subject = '[ Feedback Feature - Piwik ] ' . $subject;
+ $subject = '[ Feedback Feature - Matomo ] ' . $subject;
$body = Common::unsanitizeInputValue($body) . "\n"
- . 'Piwik ' . Version::VERSION . "\n"
+ . 'Matomo ' . Version::VERSION . "\n"
. 'IP: ' . IP::getIpFromHeader() . "\n"
. 'URL: ' . Url::getReferrer() . "\n";
$mail = new Mail();
$mail->setFrom(Piwik::getCurrentUserEmail());
- $mail->addTo($feedbackEmailAddress, 'Piwik Team');
+ $mail->addTo($feedbackEmailAddress, 'Matomo Team');
$mail->setSubject($subject);
$mail->setBodyText($body);
@$mail->send();