diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-25 12:02:13 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-25 12:02:16 +0300 |
commit | 9d354a819c99cf8707ef118191a1f0cb31266c91 (patch) | |
tree | 3ed99ee061b6689e6638a555ac889ddab8341c0d /plugins/SitesManager | |
parent | ee7e1374fb8a5f833dae2326031657544ed86109 (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.php | 5 |
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); |