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>2016-09-29 00:03:58 +0300
committerGitHub <noreply@github.com>2016-09-29 00:03:58 +0300
commit71c21b504cbe43bf31d3aa95101b8828cfc2bc6a (patch)
treecfba7b4984107eab9c81cc0d5261985198c4d4a3 /plugins
parent8ef6b29590d28ed5045d0276f32dfa446ab03f13 (diff)
remove extra two parameters in VisitExcluded constructor to prevent confusion (#10593)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CoreHome/Tracker/VisitRequestProcessor.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CoreHome/Tracker/VisitRequestProcessor.php b/plugins/CoreHome/Tracker/VisitRequestProcessor.php
index 019965a958..033399e196 100644
--- a/plugins/CoreHome/Tracker/VisitRequestProcessor.php
+++ b/plugins/CoreHome/Tracker/VisitRequestProcessor.php
@@ -87,8 +87,7 @@ class VisitRequestProcessor extends RequestProcessor
// the IP is needed by isExcluded() and GoalManager->recordGoals()
$visitProperties->setProperty('location_ip', $request->getIp());
- // TODO: move VisitExcluded logic to here (or move to service class stored in DI)
- $excluded = new VisitExcluded($request, $visitProperties->getProperty('location_ip'));
+ $excluded = new VisitExcluded($request);
if ($excluded->isExcluded()) {
return true;
}