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 Napoli <matthieu@mnapoli.fr>2014-10-08 00:52:47 +0400
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-10-08 00:53:07 +0400
commitdc3d505394fc8ae003437e81b9e060b14bbcb43c (patch)
tree0c57d7df4ae748836f63271044fe86b2d401b6a1 /plugins
parentcc95f1bc038b4a1951d01c2abfab169e8c5f5129 (diff)
Simplified a Log::warning() call
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ScheduledReports/ScheduledReports.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php
index eb66252ff1..73351e0046 100644
--- a/plugins/ScheduledReports/ScheduledReports.php
+++ b/plugins/ScheduledReports/ScheduledReports.php
@@ -266,11 +266,11 @@ class ScheduledReports extends \Piwik\Plugin
if (self::manageEvent($reportType)) {
// Safeguard against sending the same report twice to the same email (unless $force is true)
if (!$force && $this->reportAlreadySent($report, $period)) {
- Log::warning(sprintf(
+ Log::warning(
'Preventing the same scheduled report from being sent again (report #%s for period "%s")',
$report['idreport'],
$prettyDate
- ));
+ );
return;
}