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:
authordiosmosis <benaka@piwik.pro>2015-09-25 12:02:13 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-25 12:02:16 +0300
commit9d354a819c99cf8707ef118191a1f0cb31266c91 (patch)
tree3ed99ee061b6689e6638a555ac889ddab8341c0d /plugins/SitesManager
parentee7e1374fb8a5f833dae2326031657544ed86109 (diff)
Remove check for visitorNotFoundInDb request metadata since it will never be set.
If a tracker request is for an existing visit in the past, then the site creation time will always be earlier, since new action will be later than the original visit (so the original visit would have changed the creation time).
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r--plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php b/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php
index 8e88b6f5bd..7c3bd486f6 100644
--- a/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php
+++ b/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php
@@ -34,11 +34,6 @@ class SitesManagerRequestProcessor extends RequestProcessor
{
// if we successfully record some data and the date is older than the site's created time,
// update the created time so the data will be viewable in the UI
- $visitorNotFoundInDb = $request->getMetadata('CoreHome', 'visitorNotFoundInDb');
- if ($visitorNotFoundInDb) {
- return;
- }
-
$idSite = $request->getIdSite();
$createdTimeTimestamp = $this->getSiteCreatedTime($idSite);