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 'plugins/ScheduledReports/ScheduledReports.php')
-rw-r--r--plugins/ScheduledReports/ScheduledReports.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php
index 60d7d4fa08..53bf30c502 100644
--- a/plugins/ScheduledReports/ScheduledReports.php
+++ b/plugins/ScheduledReports/ScheduledReports.php
@@ -306,7 +306,6 @@ class ScheduledReports extends \Piwik\Plugin
}
$periods = self::getPeriodToFrequencyAsAdjective();
- $message = Piwik::translate('ScheduledReports_EmailHello');
$subject = Piwik::translate('General_Report') . ' ' . $reportTitle . " - " . $prettyDate;
$mail = new Mail();
@@ -338,13 +337,7 @@ class ScheduledReports extends \Piwik\Plugin
// Needed when using images as attachment with cid
$mail->setType(Zend_Mime::MULTIPART_RELATED);
- $message .= "<br/>$messageFindBelow<br/>$messageSentFrom";
-
- if ($displaySegmentInfo) {
- $message .= " " . $segmentInfo;
- }
-
- $mail->setBodyHtml($message . "<br/><br/>" . $contents);
+ $mail->setBodyHtml($contents);
break;
case 'csv':