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 'core/Tracker/Visit.php')
-rw-r--r--core/Tracker/Visit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php
index 7c308f0706..8a1d257f9f 100644
--- a/core/Tracker/Visit.php
+++ b/core/Tracker/Visit.php
@@ -257,7 +257,7 @@ class Piwik_Tracker_Visit implements Piwik_Tracker_Visit_Interface
if($refererInfo['referer_name'] == "Live"
&& preg_match("/^65\.55/", long2ip($userInfo['location_ip'])))
{
- throw new Exception("Spam Live bot, go away, you're making me cry");
+ throw new Piwik_Tracker_Visit_Excluded("Spam Live bot, go away, you're making me cry");
}
/**
@@ -903,3 +903,5 @@ class Piwik_Tracker_Visit implements Piwik_Tracker_Visit_Interface
class Piwik_Tracker_Visit_VisitorNotFoundInDatabase extends Exception {
}
+class Piwik_Tracker_Visit_Excluded extends Exception {
+}